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

34 lines
757 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, cython
, numpy
, nose
, scipy
, scikitlearn
, fetchPypi
, joblib
, six
}:
buildPythonPackage rec {
pname = "hdbscan";
2019-12-10 18:07:39 +00:00
version = "0.8.24";
src = fetchPypi {
inherit pname version;
2019-12-10 18:07:39 +00:00
sha256 = "fe31a7ea0ce2c9babd190a195e491834ff9f64c74daa4ca94fa65a88f701269a";
};
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";
2018-06-27 21:12:57 +01:00
homepage = https://github.com/scikit-learn-contrib/hdbscan;
license = licenses.bsd3;
maintainers = with maintainers; [ ixxie ];
};
}