python313Packages.bitlist: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt
2025-02-21 19:20:15 +01:00
parent a9cda7f5e5
commit 9d9b7de1fc

View File

@@ -6,6 +6,7 @@
wheel,
parts,
pytestCheckHook,
pytest-cov-stub,
pythonOlder,
}:
@@ -21,11 +22,6 @@ buildPythonPackage rec {
hash = "sha256-+/rBno+OH7yEiN4K9VC6BCEPuOv8nNp0hU+fWegjqPw=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail '--cov=bitlist --cov-report term-missing' ""
'';
build-system = [
setuptools
wheel
@@ -35,7 +31,10 @@ buildPythonPackage rec {
dependencies = [ parts ];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "bitlist" ];