nixpkgs/pkgs/development/python-modules/hdbscan/default.nix

33 lines
747 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, cython
, numpy
, nose
, scipy
, scikitlearn
, fetchPypi
, joblib
}:
buildPythonPackage rec {
pname = "hdbscan";
2019-10-16 09:43:07 +00:00
version = "0.8.23";
src = fetchPypi {
inherit pname version;
2019-10-16 09:43:07 +00:00
sha256 = "ff60c66591452ceb6bdb7592c560a1ebc7e128a02dd3880e048861f7fea7f78d";
};
checkInputs = [ nose ];
nativeBuildInputs = [ cython ];
propagatedBuildInputs = [ numpy scipy scikitlearn joblib ];
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 20:12:57 +00:00
homepage = https://github.com/scikit-learn-contrib/hdbscan;
license = licenses.bsd3;
maintainers = with maintainers; [ ixxie ];
};
}