1{ lib
2, buildPythonPackage
3, fetchPypi
4, joblib
5, llvmlite
6, numba
7, scikit-learn
8, scipy
9, pytestCheckHook
10}:
11
12buildPythonPackage rec {
13 pname = "pynndescent";
14 version = "0.5.5";
15 format = "setuptools";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "7a7df8412b19cfb3596060faf5a8c5d0bf5b3bd504f8efd900fc4e3918c6f882";
20 };
21
22 propagatedBuildInputs = [
23 joblib
24 llvmlite
25 numba
26 scikit-learn
27 scipy
28 ];
29
30 checkInputs = [
31 pytestCheckHook
32 ];
33
34 meta = with lib; {
35 description = "Nearest Neighbor Descent";
36 homepage = "https://github.com/lmcinnes/pynndescent";
37 license = licenses.bsd2;
38 maintainers = with maintainers; [ mic92 ];
39 };
40}