pythonPackages.pytest-mock: refactor fix broken package
This commit is contained in:
committed by
Frederik Rietdijk
parent
d391561768
commit
248fd7a46c
@@ -14,12 +14,15 @@ buildPythonPackage rec {
|
||||
sha256 = "03e4dece2d1aa91666034f1b2e8bb7a7b8c6be11baf3cf2929b26eea5c6e86f3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyannotate
|
||||
buildInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
postConfigure = ''
|
||||
propagatedBuildInputs = [
|
||||
pyannotate
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "pytest>=3.2.0,<4.0.0" "pytest"
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user