mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-11 07:43:43 +00:00
Diff: https://github.com/zxdavb/evohome-async/compare/v1.1.3...v1.2.0 Changelog: https://github.com/zxdavb/evohome-async/releases/tag/v1.2.0
71 lines
1.3 KiB
Nix
71 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
aiofiles,
|
|
aiohttp,
|
|
aioresponses,
|
|
aiozoneinfo,
|
|
asyncclick,
|
|
buildPythonPackage,
|
|
debugpy,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
keyring,
|
|
pytest-asyncio,
|
|
pytest-freezer,
|
|
pytestCheckHook,
|
|
pyyaml,
|
|
syrupy,
|
|
voluptuous,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "evohome-async";
|
|
version = "1.2.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zxdavb";
|
|
repo = "evohome-async";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-CbC5ms3YcNB6n5UmCHfHKTtyJau68m8QZ5UwRyiR9MM=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
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";
|
|
};
|
|
})
|