python313Packages.subarulink: refactor

Changed files
+4 -6
pkgs
development
python-modules
subarulink
+4 -6
pkgs/development/python-modules/subarulink/default.nix
···
pythonOlder,
setuptools,
stdiomask,
+
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
···
version = "0.7.14";
pyproject = true;
-
disabled = pythonOlder "3.7";
+
disabled = pythonOlder "3.12";
src = fetchFromGitHub {
owner = "G-Two";
···
pytest-asyncio
pytest-cov-stub
pytestCheckHook
+
writableTmpDirAsHomeHook
];
__darwinAllowLocalNetworking = true;
-
preCheck = ''
-
export HOME=$(mktemp -d)
-
'';
-
pythonImportsCheck = [ "subarulink" ];
meta = with lib; {
description = "Python module for interacting with STARLINK-enabled vehicle";
homepage = "https://github.com/G-Two/subarulink";
-
changelog = "https://github.com/G-Two/subarulink/releases/tag/v${version}";
+
changelog = "https://github.com/G-Two/subarulink/releases/tag/${src.tag}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "subarulink";