python312Packages.powerfox: init at 1.1.0

Asynchronous Python client for the Powerfox devices

https://github.com/klaasnicolaas/python-powerfox
This commit is contained in:
Fabian Affolter
2025-01-05 20:39:08 +01:00
parent 64cfcd064a
commit 21fb113b9c
2 changed files with 60 additions and 0 deletions
@@ -0,0 +1,58 @@
{
lib,
aiohttp,
aresponses,
buildPythonPackage,
fetchFromGitHub,
mashumaro,
orjson,
poetry-core,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
syrupy,
yarl,
}:
buildPythonPackage rec {
pname = "powerfox";
version = "1.1.0";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "klaasnicolaas";
repo = "python-powerfox";
tag = "v${version}";
hash = "sha256-stHZWGkISsemRUModIlE5CqYVVu3Mdt4ksW5tBewEDo=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
mashumaro
orjson
yarl
];
nativeCheckInputs = [
aresponses
pytest-asyncio
pytest-cov-stub
pytestCheckHook
syrupy
];
pythonImportsCheck = [ "powerfox" ];
meta = {
description = "Asynchronous Python client for the Powerfox devices";
homepage = "https://github.com/klaasnicolaas/python-powerfox";
changelog = "https://github.com/klaasnicolaas/python-powerfox/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
+2
View File
@@ -10985,6 +10985,8 @@ self: super: with self; {
powerapi = callPackage ../development/python-modules/powerapi { };
powerfox = callPackage ../development/python-modules/powerfox { };
powerline = callPackage ../development/python-modules/powerline { };
powerline-mem-segment = callPackage ../development/python-modules/powerline-mem-segment { };