Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475{ lib, aiofiles, aiohttp, aioresponses, aiozoneinfo, asyncclick, buildPythonPackage, debugpy, fetchFromGitHub, hatchling, hatch-vcs, keyring, pytest-asyncio, pytest-freezer, pytestCheckHook, pyyaml, syrupy, voluptuous,}:
buildPythonPackage (finalAttrs: { pname = "evohome-async"; version = "2.1.0"; pyproject = true;
src = fetchFromGitHub { owner = "zxdavb"; repo = "evohome-async"; tag = "v${finalAttrs.version}"; hash = "sha256-1wWUYhDj8lO8q8YF251z9uQDQTozTf5kIUjrNLrNdQA="; };
build-system = [ hatchling hatch-vcs ];
dependencies = [ aiohttp aiozoneinfo voluptuous ];
optional-dependencies = { cli = [ aiofiles asyncclick debugpy keyring ]; };
nativeCheckInputs = [ aioresponses pytest-asyncio pytest-freezer pytestCheckHook pyyaml syrupy ] ++ finalAttrs.passthru.optional-dependencies.cli;
pythonImportsCheck = [ "evohomeasync2" ];
meta = { description = "Python client for connecting to Honeywell's TCC RESTful API"; homepage = "https://github.com/zxdavb/evohome-async"; changelog = "https://github.com/zxdavb/evohome-async/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; mainProgram = "evo-client"; };})