python313Packages.colorzero: migrate to pytest-cov-stub

Changed files
+5 -6
pkgs
development
python-modules
colorzero
+5 -6
pkgs/development/python-modules/colorzero/default.nix
···
fetchFromGitHub,
pkginfo,
pytestCheckHook,
+
pytest-cov-stub,
}:
buildPythonPackage rec {
···
hash = "sha256-0NoQsy86OHQNLZsTEuF5s2MlRUoacF28jNeHgFKAH14=";
};
-
postPatch = ''
-
substituteInPlace setup.cfg \
-
--replace "--cov" ""
-
'';
-
nativeBuildInputs = [ pkginfo ];
pythonImportsCheck = [ "colorzero" ];
-
nativeCheckInputs = [ pytestCheckHook ];
+
nativeCheckInputs = [
+
pytestCheckHook
+
pytest-cov-stub
+
];
meta = with lib; {
description = "Yet another Python color library";