python312Packages.birch: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt
2024-07-30 19:48:57 +02:00
parent dff1177974
commit 2401040ce9
@@ -6,6 +6,7 @@
setuptools,
strct,
pytestCheckHook,
pytest-cov-stub,
pyyaml,
}:
@@ -31,11 +32,6 @@ buildPythonPackage rec {
];
postPatch = ''
substituteInPlace pytest.ini \
--replace-fail \
"--cov" \
"#--cov"
# configure correct version, which fails due to missing .git
substituteInPlace versioneer.py birch/_version.py \
--replace-fail '"0+unknown"' '"${version}"'
@@ -54,6 +50,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
pyyaml
];