python310Packages.aiosomecomfort: init at 0.0.3

This commit is contained in:
Robert Schütz 2023-02-01 16:07:09 -08:00 committed by Martin Weinelt
parent e86685b9a8
commit c459b2df12
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, prettytable
, mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "aiosomecomfort";
version = "0.0.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "mkmer";
repo = "AIOSomecomfort";
rev = "refs/tags/${version}";
hash = "sha256-Qw0KR934GS7AuT3nRYaunypt091fZLRioVbNOp9JesY=";
};
postPatch = ''
# https://github.com/mkmer/AIOSomecomfort/issues/1
mv aiosomecomfort AIOSomecomfort
'';
propagatedBuildInputs = [
aiohttp
prettytable
];
checkInputs = [
mock
pytestCheckHook
];
# SyntaxError in test.py
doCheck = false;
meta = {
description = "AsyicIO client for US models of Honeywell Thermostats";
homepage = "https://github.com/mkmer/AIOSomecomfort";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -334,6 +334,8 @@ self: super: with self; {
aiosmtplib = callPackage ../development/python-modules/aiosmtplib { };
aiosomecomfort = callPackage ../development/python-modules/aiosomecomfort { };
aiosqlite = callPackage ../development/python-modules/aiosqlite { };
aiosteamist = callPackage ../development/python-modules/aiosteamist { };