python313Packages.gpiozero: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt
2025-06-02 05:56:26 +02:00
parent ae0cc6393f
commit 9f20181581
@@ -16,6 +16,7 @@
# tests
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
@@ -32,11 +33,6 @@ buildPythonPackage rec {
hash = "sha256-ifdCFcMH6SrhKQK/TJJ5lJafSfAUzd6ZT5ANUzJGwxI=";
};
postPatch = ''
substituteInPlace setup.cfg \
--replace " --cov" ""
'';
outputs = [
"out"
"doc"
@@ -50,7 +46,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [ colorzero ];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [
"gpiozero"