python3Packages.py-netgear-plus: init at 0.4.7

This commit is contained in:
Burfeind, Jan-Niklas
2026-03-12 10:51:59 +01:00
committed by ma-firmware-integrationtest
parent ec853f5437
commit 26b342e265
2 changed files with 45 additions and 0 deletions
@@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
lxml,
requests,
hatchling,
}:
buildPythonPackage (finalAttrs: {
pname = "py-netgear-plus";
version = "0.4.7";
pyproject = true;
src = fetchFromGitHub {
owner = "foxey";
repo = "py-netgear-plus";
tag = "v${finalAttrs.version}";
hash = "sha256-HoHXqAqVPqaw7WkRCi5AJ2dKG8IZX7l7bTp22KZBzdU=";
};
build-system = [ hatchling ];
dependencies = [
lxml
requests
];
pythonImportsCheck = [ "py_netgear_plus" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
changelog = "https://github.com/foxey/py-netgear-plus/releases/tag/${finalAttrs.src.tag}";
description = "Python Library for NETGEAR Plus Switches";
homepage = "https://github.com/foxey/py-netgear-plus";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ aiyion ];
};
})
+2
View File
@@ -13046,6 +13046,8 @@ self: super: with self; {
py-multihash = callPackage ../development/python-modules/py-multihash { };
py-netgear-plus = callPackage ../development/python-modules/py-netgear-plus { };
py-nextbusnext = callPackage ../development/python-modules/py-nextbusnext { };
py-nightscout = callPackage ../development/python-modules/py-nightscout { };