python312Packages.subarulink: refactor

+8 -5
+8 -5
pkgs/development/python-modules/subarulink/default.nix
··· 7 pytest-asyncio, 8 pytestCheckHook, 9 pythonOlder, 10 stdiomask, 11 }: 12 13 buildPythonPackage rec { 14 pname = "subarulink"; 15 version = "0.7.13"; 16 - format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "G-Two"; 22 - repo = pname; 23 tag = "v${version}"; 24 hash = "sha256-R6d9BaQDFSobiIsbI1I/eUaJt0VUU2ELdWU9xDyhuFc="; 25 }; 26 27 - propagatedBuildInputs = [ 28 aiohttp 29 stdiomask 30 ]; ··· 50 51 meta = with lib; { 52 description = "Python module for interacting with STARLINK-enabled vehicle"; 53 - mainProgram = "subarulink"; 54 homepage = "https://github.com/G-Two/subarulink"; 55 changelog = "https://github.com/G-Two/subarulink/releases/tag/v${version}"; 56 - license = with licenses; [ asl20 ]; 57 maintainers = with maintainers; [ fab ]; 58 }; 59 }
··· 7 pytest-asyncio, 8 pytestCheckHook, 9 pythonOlder, 10 + setuptools, 11 stdiomask, 12 }: 13 14 buildPythonPackage rec { 15 pname = "subarulink"; 16 version = "0.7.13"; 17 + pyproject = true; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchFromGitHub { 22 owner = "G-Two"; 23 + repo = "subarulink"; 24 tag = "v${version}"; 25 hash = "sha256-R6d9BaQDFSobiIsbI1I/eUaJt0VUU2ELdWU9xDyhuFc="; 26 }; 27 28 + build-system = [ setuptools ]; 29 + 30 + dependencies = [ 31 aiohttp 32 stdiomask 33 ]; ··· 53 54 meta = with lib; { 55 description = "Python module for interacting with STARLINK-enabled vehicle"; 56 homepage = "https://github.com/G-Two/subarulink"; 57 changelog = "https://github.com/G-Two/subarulink/releases/tag/v${version}"; 58 + license = licenses.asl20; 59 maintainers = with maintainers; [ fab ]; 60 + mainProgram = "subarulink"; 61 }; 62 }