Files
nixpkgs/pkgs/development/python-modules/aiosomecomfort/default.nix
T

44 lines
911 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
prettytable,
setuptools,
}:
buildPythonPackage rec {
pname = "aiosomecomfort";
version = "0.0.35";
pyproject = true;
src = fetchFromGitHub {
owner = "mkmer";
repo = "AIOSomecomfort";
tag = version;
hash = "sha256-zhCpV11nzRpWiCPNgeBfBzXgLM2NAw1p9R0ACD3u/mk=";
};
build-system = [
setuptools
];
dependencies = [
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 ];
};
}