python3Packages.aiopnsense: init at 1.0.8

This commit is contained in:
Jamie Magee
2026-05-09 21:56:36 -07:00
parent e8c3e414a6
commit fbdca412f9
2 changed files with 57 additions and 0 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 ];
};
})
+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 { };