git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #15937 from NikolaMandic/word2vec

pythonPackage.word2vec: init at 0.9.1

commita48f1472f56b660e898e7c8e8475fbc390c64126 authorFrederik Rietdijk <freddyrietdijk@fridh.nl> dateThu 23 Jun 2016, 20:24 (10 years ago) parentf91dcf314f3ec5
1 file changed+24
pkgs/top-level/python-packages.nix+24
pkgs/top-level/python-packages.nix+24
@@ -27763,6 +27763,30 @@ in modules // {
2776327763 };
2776427764 };
2776527765
27766+ word2vec = buildPythonPackage rec {
27767+ name = "word2vec-${version}";
27768+ version = "0.9.1";
27769+
27770+ src = pkgs.fetchurl {
27771+ url = "mirror://pypi/w/word2vec/${name}.tar.gz";
27772+ sha256 = "a811e3e98a8e6dfe7bc851ebbbc2d6e5ab5142f2a134dd3c03daac997b546faa";
27773+ };
27774+
27775+ propagatedBuildInputs = with self; [ cython numpy ];
27776+
27777+ checkPhase = ''
27778+ cd word2vec/tests;
27779+ ${python.interpreter} test_word2vec.py
27780+ '';
27781+
27782+ meta = {
27783+ description = "Tool for computing continuous distributed representations of words";
27784+ homepage = "https://github.com/danielfrg/word2vec";
27785+ license = licenses.asl20;
27786+ maintainers = with maintainers; [ NikolaMandic ];
27787+ };
27788+ };
27789+
2776627790 tvdb_api = buildPythonPackage rec {
2776727791 name = "tvdb_api-${version}";
2776827792 version = "1.10";