aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/inform/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/inform/default.nix')
-rw-r--r--pkgs/development/python-modules/inform/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/inform/default.nix b/pkgs/development/python-modules/inform/default.nix
index 158f1161cb4d..7646d25ee425 100644
--- a/pkgs/development/python-modules/inform/default.nix
+++ b/pkgs/development/python-modules/inform/default.nix
@@ -3,6 +3,7 @@
, six
, hypothesis
, pytest
+, pytestrunner
, pytestCheckHook
}:
@@ -17,10 +18,14 @@ buildPythonPackage rec {
sha256 = "02zlprvidkz51aypss4knhv7dbr0sbpz3caqjzf9am2n1jx2viyy";
};
+ nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ arrow six ];
checkInputs = [ pytest hypothesis ];
- checkPhase = "./test.doctests.py && ./test.inform.py && pytest";
+ checkPhase = ''
+ patchShebangs test.doctests.py test.inform.py
+ ./test.doctests.py && ./test.inform.py && pytest
+ '';
meta = with lib; {
description = "Print and logging utilities";