nixpkgs-suyu/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-05-30 08:49:50 +02:00
version = "0.8.22";
src = fetchPypi {
inherit pname version;
2019-05-30 08:49:50 +02:00
sha256 = "5cfdc25375123eb9a72363449979141cc928c1953f220f0f81d7baabcaccec2d";
};
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 22:12:57 +02:00
homepage = https://github.com/scikit-learn-contrib/hdbscan;
license = licenses.bsd3;
maintainers = with maintainers; [ ixxie ];
};
}