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