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