Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyemd / default.nix
blob1fd61b054f67a56f563ff7cd0c20ec1e044931d8
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchPypi
5 , cython
6 , oldest-supported-numpy
7 , packaging
8 , setuptools
9 , setuptools-scm
10 , wheel
11 , numpy
12 , pytestCheckHook
15 buildPythonPackage rec {
16   pname = "pyemd";
17   version = "1.0.0";
19   disabled = pythonOlder "3.7";
21   format = "pyproject";
23   src = fetchPypi {
24     inherit pname version;
25     hash = "sha256-tCta57LRWx1N7mOBDqeYo5IX6Kdre0nA62OoTg/ZAP4=";
26   };
28   nativeBuildInputs = [
29     cython
30     numpy
31     oldest-supported-numpy
32     packaging
33     setuptools
34     setuptools-scm
35     wheel
36   ];
38   propagatedBuildInputs = [
39     numpy
40   ];
42   nativeCheckInputs = [
43     pytestCheckHook
44   ];
46   meta = with lib; {
47     description = "A Python wrapper for Ofir Pele and Michael Werman's implementation of the Earth Mover's Distance";
48     homepage = "https://github.com/wmayner/pyemd";
49     license = licenses.mit;
50   };