depot/third_party/nixpkgs/pkgs/development/python-modules/aiosomecomfort/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

41 lines
930 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, prettytable
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiosomecomfort";
version = "0.0.15";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mkmer";
repo = "AIOSomecomfort";
rev = "refs/tags/${version}";
hash = "sha256-G7A5XXAElPFkuRM5bEcKqqn14tjJLn2lkYyqBtm5giM=";
};
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 ];
};
}