python312Packages.thermobeacon-ble: migrate to pytest-cov-stub

This commit is contained in:
Fabian Affolter
2024-12-15 11:05:04 +01:00
parent ebcac5c0e6
commit 5788aba073
@@ -5,6 +5,7 @@
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
sensor-state-data,
@@ -24,11 +25,6 @@ buildPythonPackage rec {
hash = "sha256-XeLTY78zg+5HR+GH9bHl2t86ifcWm7AA4zSwJOknsdc=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=thermobeacon_ble --cov-report=term-missing:skip-covered" ""
'';
build-system = [ poetry-core ];
dependencies = [
@@ -37,7 +33,10 @@ buildPythonPackage rec {
sensor-state-data
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "thermobeacon_ble" ];