mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
python38Packages.bidict: Remove stale patch, use pytestCheckHook
This commit is contained in:
parent
9c6ca673a7
commit
f1478a78ff
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user