python313Packages.pastedeploy: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt
2025-06-02 05:56:33 +02:00
parent d5f85cd960
commit 05df847901
@@ -3,6 +3,7 @@
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pytest-cov-stub,
pythonOlder,
setuptools,
}:
@@ -21,14 +22,12 @@ buildPythonPackage rec {
hash = "sha256-yR7UxAeF0fQrbU7tl29GpPeEAc4YcxHdNQWMD67pP3g=";
};
postPatch = ''
substituteInPlace pytest.ini \
--replace-fail " --cov" ""
'';
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "paste.deploy" ];