diff options
author | Rodney Lorrimar <dev@rodney.id.au> | 2017-09-13 00:58:29 +0100 |
---|---|---|
committer | Rodney Lorrimar <dev@rodney.id.au> | 2017-09-16 09:23:16 +0100 |
commit | 18161a5b6f9c4b7506362d64ebef2b5ed884d3fc (patch) | |
tree | 1897cec32b5e9a28a76d654ccf9e5bed936d16fc /pkgs/development/python-modules/pyemd | |
parent | 31037bab49848e3e8d9fe9ab9e1d716f18fbdcf3 (diff) | |
download | nixlib-18161a5b6f9c4b7506362d64ebef2b5ed884d3fc.tar nixlib-18161a5b6f9c4b7506362d64ebef2b5ed884d3fc.tar.gz nixlib-18161a5b6f9c4b7506362d64ebef2b5ed884d3fc.tar.bz2 nixlib-18161a5b6f9c4b7506362d64ebef2b5ed884d3fc.tar.lz nixlib-18161a5b6f9c4b7506362d64ebef2b5ed884d3fc.tar.xz nixlib-18161a5b6f9c4b7506362d64ebef2b5ed884d3fc.tar.zst nixlib-18161a5b6f9c4b7506362d64ebef2b5ed884d3fc.zip |
pythonPackages.pyemd: init at 0.4.4
This module is a requirement of textacy.
Diffstat (limited to 'pkgs/development/python-modules/pyemd')
-rw-r--r-- | pkgs/development/python-modules/pyemd/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyemd/default.nix b/pkgs/development/python-modules/pyemd/default.nix new file mode 100644 index 000000000000..e23cf7794b16 --- /dev/null +++ b/pkgs/development/python-modules/pyemd/default.nix @@ -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 ]; + }; +} |