python3Packages.scikitlearn: rename to scikit-learn

This commit is contained in:
DavHau
2021-05-15 01:46:36 +07:00
parent a17bfa39ce
commit cd8f3e6c44
49 changed files with 94 additions and 92 deletions

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, scikitlearn, pandas, nose, pytest }:
{ lib, buildPythonPackage, fetchPypi, scikit-learn, pandas, nose, pytest }:
buildPythonPackage rec {
pname = "imbalanced-learn";
@@ -9,7 +9,7 @@ buildPythonPackage rec {
sha256 = "5bd9e86e40ce4001a57426541d7c79b18143cbd181e3330c1a3e5c5c43287083";
};
propagatedBuildInputs = [ scikitlearn ];
propagatedBuildInputs = [ scikit-learn ];
checkInputs = [ nose pytest pandas ];
checkPhase = ''
export HOME=$PWD

View File

@@ -4,7 +4,7 @@
, isPy27
, pandas
, pytestCheckHook
, scikitlearn
, scikit-learn
}:
buildPythonPackage rec {
@@ -17,7 +17,7 @@ buildPythonPackage rec {
sha256 = "0a9xrw4qsh95g85pg2611hvj6xcfncw646si2icaz22haw1x410w";
};
propagatedBuildInputs = [ scikitlearn ];
propagatedBuildInputs = [ scikit-learn ];
checkInputs = [ pytestCheckHook pandas ];
preCheck = ''
export HOME=$TMPDIR