c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
49 lines
912 B
Nix
49 lines
912 B
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, click
|
|
, fetchFromGitHub
|
|
, hatchling
|
|
, pythonOlder
|
|
, voluptuous
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "evohome-async";
|
|
version = "0.4.19";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zxdavb";
|
|
repo = "evohome-async";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-B7LvGXAZO1pd9iCuZjW/bRWdB5PEzfcQjZWokGzMN70=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
hatchling
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
click
|
|
voluptuous
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
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 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "evo-client";
|
|
};
|
|
}
|