summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyemd/default.nix
blob: e23cf7794b1658b68be00ce08025f5f7ce5ce53c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 ];
  };
}