diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/hdbscan')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/hdbscan/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/hdbscan/default.nix b/nixpkgs/pkgs/development/python-modules/hdbscan/default.nix new file mode 100644 index 00000000000..e716a185a80 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/hdbscan/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, cython +, numpy +, nose +, scipy +, scikitlearn +, fetchPypi +, joblib +, six +}: + +buildPythonPackage rec { + pname = "hdbscan"; + version = "0.8.23"; + + src = fetchPypi { + inherit pname version; + sha256 = "ff60c66591452ceb6bdb7592c560a1ebc7e128a02dd3880e048861f7fea7f78d"; + }; + + checkInputs = [ nose ]; + + nativeBuildInputs = [ cython ]; + propagatedBuildInputs = [ numpy scipy scikitlearn joblib six ]; + + meta = with lib; { + description = "Hierarchical Density-Based Spatial Clustering of Applications with Noise, a clustering algorithm with a scikit-learn compatible API"; + homepage = https://github.com/scikit-learn-contrib/hdbscan; + license = licenses.bsd3; + maintainers = with maintainers; [ ixxie ]; + }; +} |