python312Packages.subarulink: refactor

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