Merge pull request #63659 from risicle/ris-hdbscan-fix-remove

pythonPackages.hdbscan: fix build
This commit is contained in:
worldofpeace 2019-06-25 11:33:27 -04:00 committed by GitHub
commit 813f1b5fba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
, scipy , scipy
, scikitlearn , scikitlearn
, fetchPypi , fetchPypi
, fetchpatch , joblib
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -18,18 +18,10 @@ buildPythonPackage rec {
sha256 = "5cfdc25375123eb9a72363449979141cc928c1953f220f0f81d7baabcaccec2d"; sha256 = "5cfdc25375123eb9a72363449979141cc928c1953f220f0f81d7baabcaccec2d";
}; };
patches = [
# Fix Tests. Drop in release >0.8.20
(fetchpatch {
name = "test-rsl-missing-import.patch";
url = https://github.com/scikit-learn-contrib/hdbscan/commit/e40ccef139e56e38adf7bd6912cd63efd97598f9.patch;
sha256 = "0cfq4ja7j61h2zwd1jw5gagcz2sg18kjnx29sb0bwa13wfw6fip0";
})
];
checkInputs = [ nose ]; checkInputs = [ nose ];
propagatedBuildInputs = [ cython numpy scipy scikitlearn ]; nativeBuildInputs = [ cython ];
propagatedBuildInputs = [ numpy scipy scikitlearn joblib ];
meta = with lib; { meta = with lib; {
description = "Hierarchical Density-Based Spatial Clustering of Applications with Noise, a clustering algorithm with a scikit-learn compatible API"; description = "Hierarchical Density-Based Spatial Clustering of Applications with Noise, a clustering algorithm with a scikit-learn compatible API";