mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
849282d2b0
Diff: https://github.com/mkmer/AIOSomecomfort/compare/refs/tags/0.0.11...0.0.14 Changelog: https://github.com/mkmer/AIOSomecomfort/releases/tag/0.0.14
42 lines
930 B
Nix
42 lines
930 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, aiohttp
|
|
, prettytable
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiosomecomfort";
|
|
version = "0.0.14";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mkmer";
|
|
repo = "AIOSomecomfort";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-YVZSqTynlAH7y6vH07wsFCLMWnde/cBx4jjfJ4ZV3LA=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|