python311Packages.wheel-filename: migate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt 2024-08-06 23:36:27 +02:00
parent b78f5e5f66
commit 61b51ff302

View File

@ -4,6 +4,7 @@
fetchFromGitHub,
fetchpatch,
pytestCheckHook,
pytest-cov-stub,
pythonOlder,
setuptools,
wheel,
@ -36,12 +37,10 @@ buildPythonPackage rec {
wheel
];
nativeCheckInputs = [ pytestCheckHook ];
postPatch = ''
substituteInPlace tox.ini \
--replace " --cov=wheel_filename --no-cov-on-fail" ""
'';
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "wheel_filename" ];