diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pynndescent/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pynndescent/default.nix | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pynndescent/default.nix b/nixpkgs/pkgs/development/python-modules/pynndescent/default.nix index aab8f4e743a2..fa9db26b5e39 100644 --- a/nixpkgs/pkgs/development/python-modules/pynndescent/default.nix +++ b/nixpkgs/pkgs/development/python-modules/pynndescent/default.nix @@ -1,9 +1,8 @@ { lib , buildPythonPackage , fetchPypi -, fetchpatch , nose -, scikitlearn +, scikit-learn , scipy , numba , llvmlite @@ -12,33 +11,25 @@ buildPythonPackage rec { pname = "pynndescent"; - version = "0.5.1"; + version = "0.5.2"; src = fetchPypi { inherit pname version; - sha256 = "74a05a54d13573a38878781d44812ac6df97d8762a56f9bb5dd87a99911820fe"; + sha256 = "0w87c2v0li2rdbx6qfc2lb6y6bxpdy3jwfgzfs1kcr4d1chj5zfr"; }; - patches = [ - # fixes tests, included in 0.5.2 - (fetchpatch { - url = "https://github.com/lmcinnes/pynndescent/commit/ef5d8c3c3bfe976063b6621e3e0734c0c22d813b.patch"; - sha256 = "sha256-49n3kevs3wpzd4FfZVKmNpF2o1V8pJs4KOx8zCAhR3s="; - }) - ]; - - checkInputs = [ - nose - ]; - propagatedBuildInputs = [ - scikitlearn + scikit-learn scipy numba llvmlite joblib ]; + checkInputs = [ + nose + ]; + checkPhase = '' nosetests ''; |