diff options
author | NikolaMandic <mn080202@gmail.com> | 2016-06-02 19:27:07 +0000 |
---|---|---|
committer | NikolaMandic <mn080202@gmail.com> | 2016-06-17 23:00:26 +0200 |
commit | 14f3ec571862776bda67af34a4f518abaa9ec1e6 (patch) | |
tree | 83720512a458bc127b013a0e44af8a530e0b9473 | |
parent | c3b791f15b5fa88d92084d072e32cdf976b034ca (diff) | |
download | nixlib-14f3ec571862776bda67af34a4f518abaa9ec1e6.tar nixlib-14f3ec571862776bda67af34a4f518abaa9ec1e6.tar.gz nixlib-14f3ec571862776bda67af34a4f518abaa9ec1e6.tar.bz2 nixlib-14f3ec571862776bda67af34a4f518abaa9ec1e6.tar.lz nixlib-14f3ec571862776bda67af34a4f518abaa9ec1e6.tar.xz nixlib-14f3ec571862776bda67af34a4f518abaa9ec1e6.tar.zst nixlib-14f3ec571862776bda67af34a4f518abaa9ec1e6.zip |
pythonPackage.word2vec: init at 0.9.1
-rw-r--r-- | pkgs/top-level/python-packages.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 60dca7f1deca..ad273d0d96a9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -27689,6 +27689,30 @@ in modules // { }; }; + word2vec = buildPythonPackage rec { + name = "word2vec-${version}"; + version = "0.9.1"; + + src = pkgs.fetchurl { + url = "mirror://pypi/w/word2vec/${name}.tar.gz"; + sha256 = "a811e3e98a8e6dfe7bc851ebbbc2d6e5ab5142f2a134dd3c03daac997b546faa"; + }; + + propagatedBuildInputs = with self; [ cython numpy ]; + + checkPhase = '' + cd word2vec/tests; + ${python.interpreter} test_word2vec.py + ''; + + meta = { + description = "Tool for computing continuous distributed representations of words"; + homepage = "https://github.com/danielfrg/word2vec"; + license = licenses.asl20; + maintainers = with maintainers; [ NikolaMandic ]; + }; + }; + tvdb_api = buildPythonPackage rec { name = "tvdb_api-${version}"; version = "1.10"; |