Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 71 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172{ lib, aiofiles, aiohttp, aioresponses, aiozoneinfo, asyncclick, buildPythonPackage, debugpy, fetchFromGitHub, hatchling, pytest-asyncio, pytest-freezer, pytestCheckHook, pythonOlder, pyyaml, syrupy, voluptuous,}:
buildPythonPackage rec { pname = "evohome-async"; version = "1.0.5"; pyproject = true;
disabled = pythonOlder "3.12";
src = fetchFromGitHub { owner = "zxdavb"; repo = "evohome-async"; tag = version; hash = "sha256-4eV050Yikr+5ZIj1v11cPQQ1pAlQYckbZXVFHHfYmpA="; };
build-system = [ hatchling ];
dependencies = [ aiohttp aiozoneinfo voluptuous ];
optional-dependencies = { cli = [ aiofiles asyncclick debugpy ]; };
nativeCheckInputs = [ aioresponses pytest-asyncio pytest-freezer pytestCheckHook pyyaml syrupy ] ++ optional-dependencies.cli;
pythonImportsCheck = [ "evohomeasync2" ];
meta = with lib; { 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/${version}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; mainProgram = "evo-client"; };}