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-10-17 02:12:59 +00:00
|
|
|
version = "0.5.5";
|
2021-09-18 10:52:07 +00:00
|
|
|
format = "setuptools";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-17 02:12:59 +00:00
|
|
|
sha256 = "7a7df8412b19cfb3596060faf5a8c5d0bf5b3bd504f8efd900fc4e3918c6f882";
|
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
|
|
|
};
|
|
|
|
}
|