python313Packages.sure: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt 2025-06-02 05:56:43 +02:00
parent d294fbfd67
commit 6d7a904a13

View File

@ -4,6 +4,7 @@
fetchPypi,
setuptools,
pytestCheckHook,
pytest-cov-stub,
mock,
six,
isPyPy,
@ -21,8 +22,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.cfg \
--replace "rednose = 1" "" \
--replace-fail "--cov=sure" ""
--replace "rednose = 1" ""
'';
build-system = [ setuptools ];
@ -34,6 +34,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
mock
];