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