depot/third_party/nixpkgs/pkgs/development/python-modules/aiosomecomfort/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

44 lines
982 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
prettytable,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "aiosomecomfort";
version = "0.0.25";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mkmer";
repo = "AIOSomecomfort";
rev = "refs/tags/${version}";
hash = "sha256-EmglZW9gzgswxoEtDT+evjn8N+3aPooYFudwAXP8XEE=";
};
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 ];
};
}