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