pythonPackages.pyemd: init at 0.4.4

This module is a requirement of textacy.
This commit is contained in:
Rodney Lorrimar 2017-09-13 00:58:29 +01:00
parent 31037bab49
commit 18161a5b6f
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi, numpy, cython }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pyemd";
version = "0.4.4";
src = fetchPypi {
inherit pname version;
sha256 = "13y06y7r1697cv4r430g45fxs40i2yk9xn0dk9nqlrpddw3a0mr4";
};
propagatedBuildInputs = [ numpy ];
buildInputs = [ cython ];
meta = with stdenv.lib; {
description = "A Python wrapper for Ofir Pele and Michael Werman's implementation of the Earth Mover's Distance";
homepage = http://github.com/wmayner/pyemd;
license = licenses.mit;
maintainers = with maintainers; [ rvl ];
};
}

View File

@ -27277,6 +27277,8 @@ EOF
spacy = callPackage ../development/python-modules/spacy { }; spacy = callPackage ../development/python-modules/spacy { };
pyemd = callPackage ../development/python-modules/pyemd { };
behave = callPackage ../development/python-modules/behave { }; behave = callPackage ../development/python-modules/behave { };
pyhamcrest = callPackage ../development/python-modules/pyhamcrest { }; pyhamcrest = callPackage ../development/python-modules/pyhamcrest { };