
Diff: https://github.com/zxdavb/evohome-async/compare/refs/tags/1.0.4...1.0.5 Changelog: https://github.com/zxdavb/evohome-async/releases/tag/1.0.5
71 lines
1.3 KiB
Nix
71 lines
1.3 KiB
Nix
{
|
|
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";
|
|
};
|
|
}
|