Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 55 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ 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 ]; };})