python3Packages.pyaxencoapi: init at 1.0.6
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user