python3Packages.scikitlearn: rename to scikit-learn
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user