Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768{ lib, authlib, buildPythonPackage, fastapi, fetchFromGitHub, httpx-sse, httpx, mashumaro, pytest-asyncio, pytest-cov-stub, pytest-httpx, pytestCheckHook, setuptools, sybil, typer, uvicorn,}:
buildPythonPackage (finalAttrs: { pname = "aiohomeconnect"; version = "0.39.1"; pyproject = true;
src = fetchFromGitHub { owner = "MartinHjelmare"; repo = "aiohomeconnect"; tag = "v${finalAttrs.version}"; hash = "sha256-RvbCWZX51K5+5HNPjcQBGiq7Lwo3ng3+UFOECATjIK4="; };
build-system = [ setuptools ];
dependencies = [ httpx httpx-sse mashumaro ];
optional-dependencies = { cli = [ authlib fastapi typer uvicorn ]; };
nativeCheckInputs = [ pytest-asyncio pytest-cov-stub pytest-httpx pytestCheckHook sybil ] ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
pythonImportsCheck = [ "aiohomeconnect" ];
meta = { description = "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 ]; };})