Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 65 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ lib, authlib, buildPythonPackage, fastapi, fetchFromGitHub, httpx-sse, httpx, mashumaro, pytest-asyncio, pytest-cov-stub, pytest-httpx, pytestCheckHook, setuptools, typer, uvicorn,}:
buildPythonPackage (finalAttrs: { pname = "aiohomeconnect"; version = "0.34.0"; pyproject = true;
src = fetchFromGitHub { owner = "MartinHjelmare"; repo = "aiohomeconnect"; tag = "v${finalAttrs.version}"; hash = "sha256-fGK7Qc4dzW1BTbSNrNE7N4RZvyaXf2pQ49zTOkjNyBg="; };
build-system = [ setuptools ];
dependencies = [ httpx httpx-sse mashumaro ];
optional-dependencies = { cli = [ authlib fastapi typer uvicorn ]; };
nativeCheckInputs = [ pytest-asyncio pytest-cov-stub pytest-httpx pytestCheckHook ] ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
pythonImportsCheck = [ "aiohomeconnect" ];
meta = { description = "asyncio client for the Home Connect API"; homepage = "https://github.com/MartinHjelmare/aiohomeconnect"; changelog = "https://github.com/MartinHjelmare/aiohomeconnect/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; };})