summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytest-regressions/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pytest-regressions/default.nix')
-rw-r--r--pkgs/development/python-modules/pytest-regressions/default.nix56
1 files changed, 31 insertions, 25 deletions
diff --git a/pkgs/development/python-modules/pytest-regressions/default.nix b/pkgs/development/python-modules/pytest-regressions/default.nix
index e9950b01fdf1..eb0afeda5e22 100644
--- a/pkgs/development/python-modules/pytest-regressions/default.nix
+++ b/pkgs/development/python-modules/pytest-regressions/default.nix
@@ -1,17 +1,18 @@
-{ lib
-, buildPythonPackage
-, fetchPypi
-, pythonAtLeast
-, pythonOlder
-, matplotlib
-, numpy
-, pandas
-, pillow
-, pytest
-, pytest-datadir
-, pytestCheckHook
-, pyyaml
-, setuptools-scm
+{
+ lib,
+ buildPythonPackage,
+ fetchPypi,
+ pythonAtLeast,
+ pythonOlder,
+ matplotlib,
+ numpy,
+ pandas,
+ pillow,
+ pytest,
+ pytest-datadir,
+ pytestCheckHook,
+ pyyaml,
+ setuptools-scm,
}:
buildPythonPackage rec {
@@ -26,20 +27,15 @@ buildPythonPackage rec {
hash = "sha256-gYx4hMHP87q/ie67AsvCezB4VrGYVCfCTVLLgSoQb9k=";
};
- nativeBuildInputs = [
- setuptools-scm
- ];
+ nativeBuildInputs = [ setuptools-scm ];
- buildInputs = [
- pytest
- ];
+ buildInputs = [ pytest ];
propagatedBuildInputs = [
pytest-datadir
pyyaml
];
-
nativeCheckInputs = [
matplotlib
pandas
@@ -47,7 +43,8 @@ buildPythonPackage rec {
];
pytestFlagsArray = [
- "-W" "ignore::DeprecationWarning"
+ "-W"
+ "ignore::DeprecationWarning"
];
disabledTestPathss = lib.optionals (pythonAtLeast "3.12") [
@@ -61,9 +58,18 @@ buildPythonPackage rec {
];
passthru.optional-dependencies = {
- dataframe = [ pandas numpy ];
- image = [ numpy pillow ];
- num = [ numpy pandas ];
+ dataframe = [
+ pandas
+ numpy
+ ];
+ image = [
+ numpy
+ pillow
+ ];
+ num = [
+ numpy
+ pandas
+ ];
};
meta = with lib; {