python3Packages.egauge-async: init at 0.4.0

This commit is contained in:
Jamie Magee
2026-02-19 23:15:17 -08:00
parent 61258584a9
commit 297612decc
2 changed files with 57 additions and 0 deletions
@@ -0,0 +1,55 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
uv-dynamic-versioning,
httpx,
pytest-asyncio,
pytest-mock,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "egauge-async";
version = "0.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "neggert";
repo = "egauge-async";
tag = "v${finalAttrs.version}";
hash = "sha256-VESByB7TwB8jjvRMeNGIzJYurKGS4OqDYTw9f1QTyX8=";
};
build-system = [
hatchling
uv-dynamic-versioning
];
dependencies = [
httpx
];
nativeCheckInputs = [
pytest-asyncio
pytest-mock
pytestCheckHook
];
disabledTestMarks = [
"integration"
];
pythonImportsCheck = [
"egauge_async"
];
meta = {
description = "Async client for eGauge energy monitor";
homepage = "https://github.com/neggert/egauge-async";
changelog = "https://github.com/neggert/egauge-async/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ jamiemagee ];
};
})
+2
View File
@@ -4851,6 +4851,8 @@ self: super: with self; {
effect = callPackage ../development/python-modules/effect { };
egauge-async = callPackage ../development/python-modules/egauge-async { };
eggdeps = callPackage ../development/python-modules/eggdeps { };
eheimdigital = callPackage ../development/python-modules/eheimdigital { };