summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-01-20 11:54:42 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-01-20 21:10:12 +0100
commitf1478a78ff3c1c2ce6abb6cf603206cb8d4e08c7 (patch)
treeba5fce72277338d1dfa5ac0afcff206f3ce3c146
parent9c6ca673a76e2c97ed7425cd9807c13bd1bc4945 (diff)
python38Packages.bidict: Remove stale patch, use pytestCheckHook
-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";