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

This commit is contained in:
Fabian Affolter
2024-12-15 13:38:01 +01:00
parent 53de9d53cb
commit 06bb2b8cd2
@@ -6,6 +6,7 @@
fetchFromGitHub,
home-assistant-bluetooth,
poetry-core,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
sensor-state-data,
@@ -25,11 +26,6 @@ buildPythonPackage rec {
hash = "sha256-ozZwVgTV/xYl1nXLiybcPs6DQKocNdbxTEYDfYyQuvY=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=rapt_ble --cov-report=term-missing:skip-covered" ""
'';
build-system = [ poetry-core ];
dependencies = [
@@ -39,7 +35,10 @@ buildPythonPackage rec {
sensor-state-data
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "rapt_ble" ];