diff --git a/pkgs/development/python-modules/word2vec/default.nix b/pkgs/development/python-modules/word2vec/default.nix deleted file mode 100644 index 58d513adcc47..000000000000 --- a/pkgs/development/python-modules/word2vec/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ stdenv -, lib -, buildPythonPackage -, fetchPypi -, fetchzip -, cython -, numpy -, scikit-learn -, six -, setuptools-scm -, gcc -, pytest -, pytest-cov -, isPy27 -}: -let - testData = fetchzip { - url = "http://mattmahoney.net/dc/text8.zip"; - sha256 = "0w3l64bww9znmmvd9cqbfmh3dddnlrjicz43y5qq6fhi9cfqjfar"; - }; -in -buildPythonPackage rec { - pname = "word2vec"; - version = "0.11.1"; - disabled = isPy27; - - src = fetchPypi { - inherit pname version; - sha256 = "222d8ffb47f385c43eba45e3f308e605fc9736b2b7137d74979adf1a31e7c8b4"; - }; - - nativeBuildInputs = [ setuptools-scm gcc ]; - - propagatedBuildInputs = [ cython numpy scikit-learn six ]; - - nativeCheckInputs = [ pytest pytest-cov ]; - - # Checks require test data downloaded separately - # See project source Makefile:test-data rule for reference - checkPhase = '' - PATH=$PATH:$out/bin - mkdir data - head -c 100000 ${testData}/text8 > data/text8-small - pytest - ''; - - meta = with lib; { - broken = stdenv.isDarwin; - description = "Tool for computing continuous distributed representations of words"; - homepage = "https://github.com/danielfrg/word2vec"; - license = licenses.asl20; - maintainers = with maintainers; [ NikolaMandic ]; - }; - -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index fb1883efa63b..c9d0febd30c1 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -318,6 +318,7 @@ mapAliases ({ weakrefmethod = throw "weakrefmethod was removed since it's not needed in Python >= 3.4"; # added 2022-12-01 webapp2 = throw "webapp2 is unmaintained since 2012"; # added 2022-05-29 websocket_client = websocket-client; # added 2021-06-15 + word2vec = throw "word2vec has been removed because it is abandoned"; # added 2023-05-22 wxPython_4_0 = throw "wxPython_4_0 has been removed, use wxPython_4_2 instead"; # added 2023-03-19 wxPython_4_1 = throw "wxPython_4_1 has been removed, use wxPython_4_2 instead"; # added 2023-03-19 WSME = wsme; # added 2023-02-19 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b0582347de26..68e3ddbacba7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12970,8 +12970,6 @@ self: super: with self; { woodblock = callPackage ../development/python-modules/woodblock { }; - word2vec = callPackage ../development/python-modules/word2vec { }; - wordcloud = callPackage ../development/python-modules/wordcloud { }; wordfreq = callPackage ../development/python-modules/wordfreq { };