summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/imbalanced-learn/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/imbalanced-learn/default.nix')
-rw-r--r--pkgs/development/python-modules/imbalanced-learn/default.nix44
1 files changed, 22 insertions, 22 deletions
diff --git a/pkgs/development/python-modules/imbalanced-learn/default.nix b/pkgs/development/python-modules/imbalanced-learn/default.nix
index 412b0424a218..2f3c8cf3b72a 100644
--- a/pkgs/development/python-modules/imbalanced-learn/default.nix
+++ b/pkgs/development/python-modules/imbalanced-learn/default.nix
@@ -1,18 +1,19 @@
-{ lib
-, buildPythonPackage
-, fetchPypi
-, pythonOlder
-, setuptools
-, joblib
-, keras
-, numpy
-, pandas
-, scikit-learn
-, scipy
-, tensorflow
-, threadpoolctl
-, pytest-xdist
-, pytestCheckHook
+{
+ lib,
+ buildPythonPackage,
+ fetchPypi,
+ pythonOlder,
+ setuptools,
+ joblib,
+ keras,
+ numpy,
+ pandas,
+ scikit-learn,
+ scipy,
+ tensorflow,
+ threadpoolctl,
+ pytest-xdist,
+ pytestCheckHook,
}:
buildPythonPackage rec {
@@ -27,9 +28,7 @@ buildPythonPackage rec {
hash = "sha256-qAxWztywcSTyZr5i06XSq1tXeZCac0P98bmTR5Zi9sE=";
};
- nativeBuildInputs = [
- setuptools
- ];
+ nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
joblib
@@ -47,11 +46,12 @@ buildPythonPackage rec {
];
};
- pythonImportsCheck = [
- "imblearn"
- ];
+ pythonImportsCheck = [ "imblearn" ];
- nativeCheckInputs = [ pytestCheckHook pandas ];
+ nativeCheckInputs = [
+ pytestCheckHook
+ pandas
+ ];
preCheck = ''
export HOME=$TMPDIR