diff options
author | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2016-06-23 20:24:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-23 20:24:37 +0200 |
commit | a48f1472f56b660e898e7c8e8475fbc390c64126 (patch) | |
tree | 9cb6cf22059ac0285f6ef9b7c1afdab5742aa196 | |
parent | f91dcf3a1513034d433c13e2f45f51f832ff9e77 (diff) | |
parent | 14f3ec571862776bda67af34a4f518abaa9ec1e6 (diff) | |
download | nixpkgs-a48f1472f56b660e898e7c8e8475fbc390c64126.tar nixpkgs-a48f1472f56b660e898e7c8e8475fbc390c64126.tar.gz nixpkgs-a48f1472f56b660e898e7c8e8475fbc390c64126.tar.bz2 nixpkgs-a48f1472f56b660e898e7c8e8475fbc390c64126.tar.lz nixpkgs-a48f1472f56b660e898e7c8e8475fbc390c64126.tar.xz nixpkgs-a48f1472f56b660e898e7c8e8475fbc390c64126.tar.zst nixpkgs-a48f1472f56b660e898e7c8e8475fbc390c64126.zip |
Merge pull request #15937 from NikolaMandic/word2vec
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 be906ef0299..faed8db0846 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -27763,6 +27763,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"; |