Skip to content

Commit

Permalink
gensim: init at 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sasha Delly committed May 17, 2017
1 parent 7592c43 commit 590b31e
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
53 changes: 53 additions & 0 deletions pkgs/development/python-modules/gensim/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, python
, numpy
, scipy
, six
, smart_open
, testfixtures
, unittest2
, pyro4
, pyemd
, scikitlearn
, morfessor
}:

buildPythonPackage rec {
name = "${pname}-${version}";
pname = "gensim";
version = "2.1.0";

src = fetchPypi {
inherit pname version;
sha256 = "1wn7bji9b80wn1yggmh7a0dlwzdjr6cp24x4p33j2rf29lxnm2kc";
};

propagatedBuildInputs = [
numpy
scipy
six
smart_open
];

buildInputs = [
testfixtures
unittest2
pyro4
pyemd
scikitlearn
morfessor
];

checkPhase = ''
${python.interpreter} setup.py test
'';

meta = with stdenv.lib; {
description = "a Python library for topic modelling, document indexing and similarity retrieval with large corpora";
homepage = https://github.com/RaRe-Technologies/gensim;
license = licenses.lgpl21;
maintainers = with maintainers; [ sdll ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31356,6 +31356,8 @@ EOF

morfessor = callPackage ../development/python-modules/morfessor { };

gensim = callPackage ../development/python-modules/gensim { };

});

in fix' (extends overrides packages)

0 comments on commit 590b31e

Please sign in to comment.