diff --git a/pkgs/development/python-modules/configupdater/default.nix b/pkgs/development/python-modules/configupdater/default.nix index 9e052140d48f..4abf86805d36 100644 --- a/pkgs/development/python-modules/configupdater/default.nix +++ b/pkgs/development/python-modules/configupdater/default.nix @@ -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";