python313Packages.sensor-state-data: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt 2025-06-02 05:56:42 +02:00
parent 72fcb4c6c9
commit a471ff9891

View File

@ -4,6 +4,7 @@
fetchFromGitHub,
poetry-core,
pytestCheckHook,
pytest-cov-stub,
pythonOlder,
}:
@ -23,12 +24,10 @@ buildPythonPackage rec {
nativeBuildInputs = [ poetry-core ];
nativeCheckInputs = [ pytestCheckHook ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=sensor_state_data --cov-report=term-missing:skip-covered" ""
'';
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "sensor_state_data" ];