evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pyemd / default.nix
blob16d5cde886911a683e27e225866811c74d028484
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchPypi,
6   cython,
7   oldest-supported-numpy,
8   packaging,
9   setuptools,
10   setuptools-scm,
11   wheel,
12   numpy,
13   pytestCheckHook,
16 buildPythonPackage rec {
17   pname = "pyemd";
18   version = "1.0.0";
20   disabled = pythonOlder "3.7";
22   format = "pyproject";
24   src = fetchPypi {
25     inherit pname version;
26     hash = "sha256-tCta57LRWx1N7mOBDqeYo5IX6Kdre0nA62OoTg/ZAP4=";
27   };
29   nativeBuildInputs = [
30     cython
31     numpy
32     oldest-supported-numpy
33     packaging
34     setuptools
35     setuptools-scm
36     wheel
37   ];
39   propagatedBuildInputs = [ numpy ];
41   nativeCheckInputs = [ pytestCheckHook ];
43   meta = with lib; {
44     description = "Python wrapper for Ofir Pele and Michael Werman's implementation of the Earth Mover's Distance";
45     homepage = "https://github.com/wmayner/pyemd";
46     license = licenses.mit;
47   };