python3Packages.py-netgear-plus: init at 0.4.7 (#496282)

This commit is contained in:
Sandro
2026-03-17 15:41:08 +00:00
committed by GitHub
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
@@ -13096,6 +13096,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 { };