Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 704 B view raw
1{ lib 2, buildPythonPackage 3, cython 4, numpy 5, nose 6, scipy 7, scikitlearn 8, fetchPypi 9}: 10 11buildPythonPackage rec { 12 pname = "hdbscan"; 13 version = "0.8.19"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "7bd74c7bd16540d7f437cf6cb61ceb4d23506f4d040c436d7570d104c1297e31"; 18 }; 19 20 checkInputs = [ nose ]; 21 22 propagatedBuildInputs = [ cython numpy scipy scikitlearn ]; 23 24 meta = with lib; { 25 description = "Hierarchical Density-Based Spatial Clustering of Applications with Noise, a clustering algorithm with a scikit-learn compatible API"; 26 homepage = https://github.com/scikit-learn-contrib/hdbscan; 27 license = licenses.bsd3; 28 maintainers = with maintainers; [ ixxie ]; 29 }; 30}