python3Packages.py-unifi-access: init at 1.1.3

This commit is contained in:
Jamie Magee
2026-04-04 20:12:48 -07:00
parent 32cbbb03c7
commit dbb01b8110
2 changed files with 51 additions and 0 deletions
@@ -0,0 +1,49 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiohttp,
pydantic,
aioresponses,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "py-unifi-access";
version = "1.1.3";
pyproject = true;
src = fetchFromGitHub {
owner = "imhotep";
repo = "py-unifi-access";
tag = finalAttrs.version;
hash = "sha256-FYhHTYQl+yGHcAu0APqdfca/YSMp3GSQmY7kSO4xkH8=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
pydantic
];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "unifi_access_api" ];
meta = {
description = "Async Python client for the UniFi Access local API with WebSocket event support";
homepage = "https://github.com/imhotep/py-unifi-access";
changelog = "https://github.com/imhotep/py-unifi-access/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
+2
View File
@@ -13177,6 +13177,8 @@ self: super: with self; {
py-ubjson = callPackage ../development/python-modules/py-ubjson { };
py-unifi-access = callPackage ../development/python-modules/py-unifi-access { };
py-vapid = callPackage ../development/python-modules/py-vapid { };
py-zabbix = callPackage ../development/python-modules/py-zabbix { };