1{ lib
2, buildPythonPackage
3, cython
4, numpy
5, nose
6, scipy
7, scikitlearn
8, fetchPypi
9}:
10
11buildPythonPackage rec {
12 pname = "hdbscan";
13 version = "0.8.15";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "446f98e1ea622a39c1f396d839fa2b1c35db98234e373336de61c3bd6ffaec78";
18 };
19
20 checkInputs = [ nose ];
21
22 propagatedBuildInputs = [ cython numpy scipy scikitlearn ];
23
24 meta = with lib; {
25 description = "Hierarchical Density-Based Spatial Clustering of Applications with Noise, a clustering algorithm with a scikit-learn compatible API";
26 homepage = https://github.com/scikit-learn-contrib/hdbscan;
27 license = licenses.bsd3;
28 maintainers = with maintainers; [ ixxie ];
29 };
30}