python3Packages.aiopnsense: init at 1.0.8 (#518575)

This commit is contained in:
Martin Weinelt
2026-05-10 13:35:19 +00:00
committed by GitHub
3 changed files with 60 additions and 1 deletions
@@ -0,0 +1,55 @@
{
lib,
aiohttp,
awesomeversion,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytest-cov-stub,
pytest-timeout,
pytestCheckHook,
python-dateutil,
pythonOlder,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "aiopnsense";
version = "1.0.8";
pyproject = true;
disabled = pythonOlder "3.14";
src = fetchFromGitHub {
owner = "Snuffy2";
repo = "aiopnsense";
tag = "v${finalAttrs.version}";
hash = "sha256-pJVYbf81/vZRi5elhNhiscXrEqDRLiIrik8N9GcR6yQ=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
awesomeversion
python-dateutil
];
nativeCheckInputs = [
aiohttp
pytest-asyncio
pytest-cov-stub
pytest-timeout
pytestCheckHook
];
pythonImportsCheck = [ "aiopnsense" ];
meta = {
description = "Async Python client library for OPNsense";
homepage = "https://github.com/Snuffy2/aiopnsense";
changelog = "https://github.com/Snuffy2/aiopnsense/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
@@ -4652,7 +4652,8 @@
];
"opnsense" =
ps: with ps; [
]; # missing inputs: aiopnsense
aiopnsense
];
"opower" =
ps: with ps; [
fnv-hash-fast
@@ -8130,6 +8131,7 @@
"opentherm_gw"
"openuv"
"openweathermap"
"opnsense"
"opower"
"oralb"
"orvibo"
+2
View File
@@ -444,6 +444,8 @@ self: super: with self; {
aiopinboard = callPackage ../development/python-modules/aiopinboard { };
aiopnsense = callPackage ../development/python-modules/aiopnsense { };
aioprocessing = callPackage ../development/python-modules/aioprocessing { };
aioprometheus = callPackage ../development/python-modules/aioprometheus { };