summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/bidict/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/bidict/default.nix')
-rw-r--r--pkgs/development/python-modules/bidict/default.nix13
1 files changed, 2 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/bidict/default.nix b/pkgs/development/python-modules/bidict/default.nix
index 34b9f4cf5ff0..dcb684a55e0d 100644
--- a/pkgs/development/python-modules/bidict/default.nix
+++ b/pkgs/development/python-modules/bidict/default.nix
@@ -3,7 +3,7 @@
, sphinx
, hypothesis
, py
-, pytest
+, pytestCheckHook
, pytest-benchmark
, sortedcollections
, sortedcontainers
@@ -23,23 +23,14 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ sphinx ];
- # this can be removed >0.19.0
- postPatch = ''
- substituteInPlace setup.py \
- --replace "setuptools_scm < 4" "setuptools_scm"
- '';
-
checkInputs = [
hypothesis
py
- pytest
+ pytestCheckHook
pytest-benchmark
sortedcollections
sortedcontainers
];
- checkPhase = ''
- pytest tests
- '';
meta = with lib; {
homepage = "https://github.com/jab/bidict";