python313Packages.gpiozero: migrate to pytest-cov-stub

Changed files
+5 -6
pkgs
development
python-modules
gpiozero
+5 -6
pkgs/development/python-modules/gpiozero/default.nix
···
# tests
pytestCheckHook,
+
pytest-cov-stub,
}:
buildPythonPackage rec {
···
tag = "v${version}";
hash = "sha256-ifdCFcMH6SrhKQK/TJJ5lJafSfAUzd6ZT5ANUzJGwxI=";
};
-
-
postPatch = ''
-
substituteInPlace setup.cfg \
-
--replace " --cov" ""
-
'';
outputs = [
"out"
···
propagatedBuildInputs = [ colorzero ];
-
nativeCheckInputs = [ pytestCheckHook ];
+
nativeCheckInputs = [
+
pytestCheckHook
+
pytest-cov-stub
+
];
pythonImportsCheck = [
"gpiozero"