python3Packages.uhooapi: init at 1.2.6 (#494485)

This commit is contained in:
Martin Weinelt
2026-03-01 21:03:59 +00:00
committed by GitHub
3 changed files with 50 additions and 1 deletions
@@ -0,0 +1,45 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiohttp,
pytestCheckHook,
pytest-asyncio,
pytest-cov-stub,
aioresponses,
}:
buildPythonPackage (finalAttrs: {
pname = "uhooapi";
version = "1.2.6";
pyproject = true;
src = fetchFromGitHub {
owner = "getuhoo";
repo = "uhooapi";
tag = "v${finalAttrs.version}";
hash = "sha256-DEb54ZoYe9CaxpCoQVpqbQlaZkDLuqRAjiu8SqiI6b0=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
pytest-cov-stub
aioresponses
];
pythonImportsCheck = [ "uhooapi" ];
meta = {
description = "Python client for uHoo APIs";
homepage = "https://github.com/getuhoo/uhooapi";
changelog = "https://github.com/getuhoo/uhooapi/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
@@ -6495,7 +6495,8 @@
];
"uhoo" =
ps: with ps; [
]; # missing inputs: uhooapi
uhooapi
];
"uk_transport" =
ps: with ps; [
];
@@ -8103,6 +8104,7 @@
"twilio"
"twinkly"
"twitch"
"uhoo"
"uk_transport"
"ukraine_alarm"
"unifi"
+2
View File
@@ -20240,6 +20240,8 @@ self: super: with self; {
uhi = callPackage ../development/python-modules/uhi { };
uhooapi = callPackage ../development/python-modules/uhooapi { };
uiprotect = callPackage ../development/python-modules/uiprotect { };
ujson = callPackage ../development/python-modules/ujson { };