tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.moat-ble: migrate to pytest-cov-stub
Fabian Affolter
1 year ago
fcd66de4
61f4b49a
+5
-6
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
moat-ble
default.nix
+5
-6
pkgs/development/python-modules/moat-ble/default.nix
···
5
5
fetchFromGitHub,
6
6
home-assistant-bluetooth,
7
7
poetry-core,
8
8
+
pytest-cov-stub,
8
9
pytestCheckHook,
9
10
pythonOlder,
10
11
sensor-state-data,
···
32
33
sensor-state-data
33
34
];
34
35
35
35
-
nativeCheckInputs = [ pytestCheckHook ];
36
36
-
37
37
-
postPatch = ''
38
38
-
substituteInPlace pyproject.toml \
39
39
-
--replace " --cov=moat_ble --cov-report=term-missing:skip-covered" ""
40
40
-
'';
36
36
+
nativeCheckInputs = [
37
37
+
pytest-cov-stub
38
38
+
pytestCheckHook
39
39
+
];
41
40
42
41
pythonImportsCheck = [ "moat_ble" ];
43
42