tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python313Packages.subarulink: refactor
Fabian Affolter
6 months ago
855cb1da
65f15965
+4
-6
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
subarulink
default.nix
+4
-6
pkgs/development/python-modules/subarulink/default.nix
···
10
10
pythonOlder,
11
11
setuptools,
12
12
stdiomask,
13
13
+
writableTmpDirAsHomeHook,
13
14
}:
14
15
15
16
buildPythonPackage rec {
···
17
18
version = "0.7.14";
18
19
pyproject = true;
19
20
20
20
-
disabled = pythonOlder "3.7";
21
21
+
disabled = pythonOlder "3.12";
21
22
22
23
src = fetchFromGitHub {
23
24
owner = "G-Two";
···
38
39
pytest-asyncio
39
40
pytest-cov-stub
40
41
pytestCheckHook
42
42
+
writableTmpDirAsHomeHook
41
43
];
42
44
43
45
__darwinAllowLocalNetworking = true;
44
46
45
45
-
preCheck = ''
46
46
-
export HOME=$(mktemp -d)
47
47
-
'';
48
48
-
49
47
pythonImportsCheck = [ "subarulink" ];
50
48
51
49
meta = with lib; {
52
50
description = "Python module for interacting with STARLINK-enabled vehicle";
53
51
homepage = "https://github.com/G-Two/subarulink";
54
54
-
changelog = "https://github.com/G-Two/subarulink/releases/tag/v${version}";
52
52
+
changelog = "https://github.com/G-Two/subarulink/releases/tag/${src.tag}";
55
53
license = licenses.asl20;
56
54
maintainers = with maintainers; [ fab ];
57
55
mainProgram = "subarulink";