686ce24904
GitOrigin-RevId: ac1f5b72a9e95873d1de0233fddcb56f99884b37
41 lines
929 B
Nix
41 lines
929 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, aiohttp
|
|
, prettytable
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiosomecomfort";
|
|
version = "0.0.8";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mkmer";
|
|
repo = "AIOSomecomfort";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-SwNHLDizkpOP+zSDzn84J2l8ltZi/ponnptzuVJMHUA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
prettytable
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"aiosomecomfort"
|
|
];
|
|
|
|
doCheck = false; # tests only run on windows, due to WindowsSelectorEventLoopPolicy
|
|
|
|
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 ];
|
|
};
|
|
}
|