python313Packages.subarulink: refactor

+4 -6
+4 -6
pkgs/development/python-modules/subarulink/default.nix
··· 10 pythonOlder, 11 setuptools, 12 stdiomask, 13 }: 14 15 buildPythonPackage rec { ··· 17 version = "0.7.14"; 18 pyproject = true; 19 20 - disabled = pythonOlder "3.7"; 21 22 src = fetchFromGitHub { 23 owner = "G-Two"; ··· 38 pytest-asyncio 39 pytest-cov-stub 40 pytestCheckHook 41 ]; 42 43 __darwinAllowLocalNetworking = true; 44 45 - preCheck = '' 46 - export HOME=$(mktemp -d) 47 - ''; 48 - 49 pythonImportsCheck = [ "subarulink" ]; 50 51 meta = with lib; { 52 description = "Python module for interacting with STARLINK-enabled vehicle"; 53 homepage = "https://github.com/G-Two/subarulink"; 54 - changelog = "https://github.com/G-Two/subarulink/releases/tag/v${version}"; 55 license = licenses.asl20; 56 maintainers = with maintainers; [ fab ]; 57 mainProgram = "subarulink";
··· 10 pythonOlder, 11 setuptools, 12 stdiomask, 13 + writableTmpDirAsHomeHook, 14 }: 15 16 buildPythonPackage rec { ··· 18 version = "0.7.14"; 19 pyproject = true; 20 21 + disabled = pythonOlder "3.12"; 22 23 src = fetchFromGitHub { 24 owner = "G-Two"; ··· 39 pytest-asyncio 40 pytest-cov-stub 41 pytestCheckHook 42 + writableTmpDirAsHomeHook 43 ]; 44 45 __darwinAllowLocalNetworking = true; 46 47 pythonImportsCheck = [ "subarulink" ]; 48 49 meta = with lib; { 50 description = "Python module for interacting with STARLINK-enabled vehicle"; 51 homepage = "https://github.com/G-Two/subarulink"; 52 + changelog = "https://github.com/G-Two/subarulink/releases/tag/${src.tag}"; 53 license = licenses.asl20; 54 maintainers = with maintainers; [ fab ]; 55 mainProgram = "subarulink";