2018-04-29 19:22:12 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, cython
|
|
|
|
, numpy
|
|
|
|
, nose
|
|
|
|
, scipy
|
|
|
|
, scikitlearn
|
|
|
|
, fetchPypi
|
2019-06-22 16:11:06 +01:00
|
|
|
, joblib
|
2019-11-05 16:46:38 +00:00
|
|
|
, six
|
2018-04-29 19:22:12 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hdbscan";
|
2019-12-10 18:07:39 +00:00
|
|
|
version = "0.8.24";
|
2018-04-29 19:22:12 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-10 18:07:39 +00:00
|
|
|
sha256 = "fe31a7ea0ce2c9babd190a195e491834ff9f64c74daa4ca94fa65a88f701269a";
|
2018-04-29 19:22:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
2019-06-22 16:11:06 +01:00
|
|
|
nativeBuildInputs = [ cython ];
|
2019-11-05 16:46:38 +00:00
|
|
|
propagatedBuildInputs = [ numpy scipy scikitlearn joblib six ];
|
2018-04-29 19:22:12 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Hierarchical Density-Based Spatial Clustering of Applications with Noise, a clustering algorithm with a scikit-learn compatible API";
|
2018-06-27 21:12:57 +01:00
|
|
|
homepage = https://github.com/scikit-learn-contrib/hdbscan;
|
2018-04-29 19:22:12 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ ixxie ];
|
|
|
|
};
|
|
|
|
}
|