python3Packages.py-unifi-access: init at 1.1.3 (#506846)

This commit is contained in:
Sandro
2026-04-06 00:19:57 +00:00
committed by GitHub
3 changed files with 54 additions and 1 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 ];
};
})
@@ -6697,7 +6697,8 @@
];
"unifi_access" =
ps: with ps; [
]; # missing inputs: py-unifi-access
py-unifi-access
];
"unifi_direct" =
ps: with ps; [
unifi-ap
@@ -8344,6 +8345,7 @@
"uk_transport"
"ukraine_alarm"
"unifi"
"unifi_access"
"unifiprotect"
"universal"
"upb"
+2
View File
@@ -13185,6 +13185,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 { };