python3Packages.elkoep-aio-mqtt: init at 0.1.0b4

This commit is contained in:
Jamie Magee
2025-11-15 23:59:52 -08:00
parent 5aeecbfbdd
commit a5140ab27c
2 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
attrs,
paho-mqtt,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "elkoep-aio-mqtt";
version = "0.1.0.beta.4";
pyproject = true;
src = fetchFromGitHub {
owner = "epdevlab";
repo = "elkoep-aio-mqtt";
tag = "0.1.0.beta.4";
hash = "sha256-pQzM0wLLZk6cEizhDqLbVF4pMeyefgSUU0ay3CiGgAE=";
};
build-system = [ setuptools ];
dependencies = [
attrs
paho-mqtt
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "inelsmqtt" ];
meta = {
description = "Python library for iNELS mqtt protocol";
homepage = "https://github.com/epdevlab/elkoep-aio-mqtt";
changelog = "https://github.com/epdevlab/elkoep-aio-mqtt/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}

View File

@@ -4763,6 +4763,8 @@ self: super: with self; {
elkm1-lib = callPackage ../development/python-modules/elkm1-lib { };
elkoep-aio-mqtt = callPackage ../development/python-modules/elkoep-aio-mqtt { };
elmax = callPackage ../development/python-modules/elmax { };
elmax-api = callPackage ../development/python-modules/elmax-api { };