pythonPackages.hdbscan: init at 0.8.12 (#37762)

wip/yesman
Matan Shenhav 6 years ago committed by Robert Schütz
parent 8b6fe6680f
commit 80bf73b11c
  1. 30
      pkgs/development/python-modules/hdbscan/default.nix
  2. 2
      pkgs/top-level/python-packages.nix

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, cython
, numpy
, nose
, scipy
, scikitlearn
, fetchPypi
}:
buildPythonPackage rec {
pname = "hdbscan";
version = "0.8.12";
src = fetchPypi {
inherit pname version;
sha256 = "0yxi34frg2jwyvjl942qy4gq5pbx8dq4pf4p28d1xah8njchfqir";
};
checkInputs = [ nose ];
propagatedBuildInputs = [ cython numpy scipy scikitlearn ];
meta = with lib; {
description = "Hierarchical Density-Based Spatial Clustering of Applications with Noise, a clustering algorithm with a scikit-learn compatible API";
homepage = http://github.com/scikit-learn-contrib/hdbscan;
license = licenses.bsd3;
maintainers = with maintainers; [ ixxie ];
};
}

@ -6342,6 +6342,8 @@ in {
propagatedBuildInputs = with self; [ requests webob ];
};
hdbscan = callPackage ../development/python-modules/hdbscan { };
hmmlearn = callPackage ../development/python-modules/hmmlearn { };
hcs_utils = callPackage ../development/python-modules/hcs_utils { };

Loading…
Cancel
Save