python312Packages.evohome-async: 0.4.21 -> 1.0.2

Changelog: https://github.com/zxdavb/evohome-async/releases/tag/1.0.2
This commit is contained in:
Fabian Affolter
2025-03-05 23:03:37 +01:00
committed by Martin Weinelt
parent 54250e5db6
commit 4a754ccf50
@@ -1,45 +1,69 @@
{
lib,
aiofiles,
aiohttp,
aioresponses,
aiozoneinfo,
asyncclick,
buildPythonPackage,
click,
debugpy,
fetchFromGitHub,
hatchling,
pytest-asyncio,
pytest-freezer,
pytestCheckHook,
pythonOlder,
pyyaml,
syrupy,
voluptuous,
}:
buildPythonPackage rec {
pname = "evohome-async";
version = "0.4.21";
version = "1.0.2";
pyproject = true;
disabled = pythonOlder "3.11";
disabled = pythonOlder "3.12";
src = fetchFromGitHub {
owner = "zxdavb";
repo = "evohome-async";
tag = version;
hash = "sha256-+tBqyg7E9wRC6oHq6Fv2vzIGtrHqZp8w/3x/xbacqWI=";
hash = "sha256-CpN0QAlUqCDy6hNkuNvbjQUee40BA0UqAleR+Omm9bA=";
};
nativeBuildInputs = [ hatchling ];
build-system = [ hatchling ];
propagatedBuildInputs = [
dependencies = [
aiohttp
click
aiozoneinfo
voluptuous
];
# Project has no tests
doCheck = false;
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";
license = with licenses; [ asl20 ];
changelog = "https://github.com/zxdavb/evohome-async/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "evo-client";
};