python313Packages.configupdater: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt
2025-06-02 05:56:21 +02:00
parent 45c6e67355
commit b7ec7a65cc
@@ -3,6 +3,7 @@
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pytest-cov-stub,
setuptools-scm,
}:
@@ -17,16 +18,14 @@ buildPythonPackage rec {
hash = "sha256-n9rFODHBsGKSm/OYtkm4fKMOfxpzXz+/SCBygEEGMGs=";
};
postPatch = ''
substituteInPlace setup.cfg \
--replace '--cov configupdater --cov-report term-missing' ""
'';
nativeBuildInputs = [ setuptools-scm ];
pythonImportsCheck = [ "configupdater" ];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
meta = with lib; {
description = "Parser like ConfigParser but for updating configuration files";