python313Packages.pastedeploy: migrate to pytest-cov-stub

Changed files
+5 -6
pkgs
development
python-modules
pastedeploy
+5 -6
pkgs/development/python-modules/pastedeploy/default.nix
···
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
+
pytest-cov-stub,
pythonOlder,
setuptools,
}:
···
hash = "sha256-yR7UxAeF0fQrbU7tl29GpPeEAc4YcxHdNQWMD67pP3g=";
};
-
postPatch = ''
-
substituteInPlace pytest.ini \
-
--replace-fail " --cov" ""
-
'';
-
build-system = [ setuptools ];
-
nativeCheckInputs = [ pytestCheckHook ];
+
nativeCheckInputs = [
+
pytestCheckHook
+
pytest-cov-stub
+
];
pythonImportsCheck = [ "paste.deploy" ];