python3Packages.pyaxencoapi: init at 1.0.6

This commit is contained in:
Jamie Magee
2026-03-22 22:39:27 -07:00
parent 127473ff31
commit 096f410508
2 changed files with 50 additions and 0 deletions
@@ -0,0 +1,48 @@
{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
python-socketio,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "pyaxencoapi";
version = "1.0.6";
pyproject = true;
src = fetchFromGitHub {
owner = "AXENCO-FR";
repo = "ha-py-axenco-api";
tag = "v${finalAttrs.version}";
hash = "sha256-Tr5HPNUrbpapOcI8pyKnN25RgXh5AokWGQCe3X4645g=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
python-socketio
]
++ python-socketio.optional-dependencies.asyncio_client;
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "pyaxencoapi" ];
meta = {
description = "Async Python client for Axenco MyNeomitis REST/Websocket API";
homepage = "https://github.com/AXENCO-FR/ha-py-axenco-api";
changelog = "https://github.com/AXENCO-FR/ha-py-axenco-api/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
+2
View File
@@ -13304,6 +13304,8 @@ self: super: with self; {
pyavm = callPackage ../development/python-modules/pyavm { };
pyaxencoapi = callPackage ../development/python-modules/pyaxencoapi { };
pyaxmlparser = callPackage ../development/python-modules/pyaxmlparser { };
pybalboa = callPackage ../development/python-modules/pybalboa { };