Merge pull request #116298 from fabaff/incomfort-client

This commit is contained in:
Sandro 2021-03-14 22:06:44 +01:00 committed by GitHub
commit d7724893cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,34 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "incomfort-client";
version = "0.4.5";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "zxdavb";
repo = pname;
rev = version;
sha256 = "0r9f15fcjwhrq6ldji1dzbb76wsvinpkmyyaj7n55rl6ibnsyrwp";
};
propagatedBuildInputs = [
aiohttp
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "incomfortclient" ];
meta = with lib; {
description = "Python module to poll Intergas boilers via a Lan2RF gateway";
homepage = "https://github.com/zxdavb/incomfort-client";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -385,7 +385,7 @@
"image_processing" = ps: with ps; [ aiohttp-cors ];
"imap" = ps: with ps; [ aioimaplib ];
"imap_email_content" = ps: with ps; [ ];
"incomfort" = ps: with ps; [ ]; # missing inputs: incomfort-client
"incomfort" = ps: with ps; [ incomfort-client ];
"influxdb" = ps: with ps; [ influxdb-client influxdb ];
"input_boolean" = ps: with ps; [ ];
"input_datetime" = ps: with ps; [ ];

View File

@ -3256,6 +3256,8 @@ in {
imutils = callPackage ../development/python-modules/imutils { };
incomfort-client = callPackage ../development/python-modules/incomfort-client { };
incremental = callPackage ../development/python-modules/incremental { };
inflect = callPackage ../development/python-modules/inflect { };