2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-09-18 10:52:07 +00:00
|
|
|
, joblib
|
|
|
|
, llvmlite
|
|
|
|
, numba
|
2021-05-20 23:08:51 +00:00
|
|
|
, scikit-learn
|
2021-02-05 17:12:51 +00:00
|
|
|
, scipy
|
2021-09-18 10:52:07 +00:00
|
|
|
, pytestCheckHook
|
2021-02-05 17:12:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pynndescent";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "0.5.4";
|
|
|
|
format = "setuptools";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "221124cbad8e3cf3ed421a4089d80ac5a29d3215e76cb49effc1df887533d2a8";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-09-18 10:52:07 +00:00
|
|
|
joblib
|
|
|
|
llvmlite
|
|
|
|
numba
|
2021-05-20 23:08:51 +00:00
|
|
|
scikit-learn
|
2021-02-05 17:12:51 +00:00
|
|
|
scipy
|
|
|
|
];
|
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
checkInputs = [
|
2021-09-18 10:52:07 +00:00
|
|
|
pytestCheckHook
|
2021-05-03 20:48:10 +00:00
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Nearest Neighbor Descent";
|
|
|
|
homepage = "https://github.com/lmcinnes/pynndescent";
|
|
|
|
license = licenses.bsd2;
|
2021-09-18 10:52:07 +00:00
|
|
|
maintainers = with maintainers; [ mic92 ];
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
}
|