504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
47 lines
985 B
Nix
47 lines
985 B
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, prettytable
|
|
, pythonOlder
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiosomecomfort";
|
|
version = "0.0.24";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mkmer";
|
|
repo = "AIOSomecomfort";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-+kAObq8tbTO6Qlb+/93mF6K+gEHd33TofHug5f+zl+4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
prettytable
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"aiosomecomfort"
|
|
];
|
|
|
|
# Tests only run on Windows, due to WindowsSelectorEventLoopPolicy
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "AsyicIO client for US models of Honeywell Thermostats";
|
|
homepage = "https://github.com/mkmer/AIOSomecomfort";
|
|
changelog = "https://github.com/mkmer/AIOSomecomfort/releases/tag/${version}";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|