python3Packages.pynndescent: 0.5.1 -> 0.5.2

This commit is contained in:
Martin Weinelt 2021-04-27 04:13:43 +02:00
parent 46a44d450e
commit 5c5f728b04
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,7 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, nose
, scikitlearn
, scipy
@ -12,25 +11,13 @@
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
scipy
@ -39,6 +26,10 @@ buildPythonPackage rec {
joblib
];
checkInputs = [
nose
];
checkPhase = ''
nosetests
'';