python311Packages.arris-tg2492lg: refactor

This commit is contained in:
Fabian Affolter
2024-01-12 20:48:15 +01:00
parent 396846082c
commit 1c177d54f3
@@ -5,22 +5,27 @@
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "arris-tg2492lg";
version = "2.2.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "vanbalken";
repo = pname;
rev = version;
repo = "arris-tg2492lg";
rev = "refs/tags/${version}";
hash = "sha256-MQq9jMUoJgqaY0f9YIbhME2kO+ektPqBnT9REg3qDpg=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
];
@@ -37,6 +42,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Library to connect to an Arris TG2492LG";
homepage = "https://github.com/vanbalken/arris-tg2492lg";
changelog = "https://github.com/vanbalken/arris-tg2492lg/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};