tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python313Packages.pysiaalarm: fix tests
Martin Weinelt
1 year ago
ef3ead5d
e4269138
+6
-6
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
pysiaalarm
default.nix
+6
-6
pkgs/development/python-modules/pysiaalarm/default.nix
reviewed
···
8
8
setuptools-scm,
9
9
pytest-asyncio,
10
10
pytest-cases,
11
11
-
pytest7CheckHook,
11
11
+
pytest-cov-stub,
12
12
+
pytestCheckHook,
12
13
pytz,
13
14
}:
14
15
15
16
buildPythonPackage rec {
16
17
pname = "pysiaalarm";
17
18
version = "3.1.1";
18
18
-
format = "setuptools";
19
19
+
pyproject = true;
19
20
20
21
disabled = pythonOlder "3.8";
21
22
···
27
28
postPatch = ''
28
29
substituteInPlace setup.cfg \
29
30
--replace "==" ">="
30
30
-
substituteInPlace pytest.ini \
31
31
-
--replace "--cov pysiaalarm --cov-report term-missing" ""
32
31
'';
33
32
34
34
-
nativeBuildInputs = [ setuptools-scm ];
33
33
+
build-system = [ setuptools-scm ];
35
34
36
35
propagatedBuildInputs = [
37
36
dataclasses-json
···
42
41
nativeCheckInputs = [
43
42
pytest-asyncio
44
43
pytest-cases
45
45
-
pytest7CheckHook
44
44
+
pytest-cov-stub
45
45
+
pytestCheckHook
46
46
];
47
47
48
48
pythonImportsCheck = [