Merge pull request #120532 from fabaff/homeconnect

This commit is contained in:
Martin Weinelt 2021-04-24 17:34:15 +02:00 committed by GitHub
commit 9f48549762
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
, requests_oauthlib
}:
buildPythonPackage rec {
pname = "homeconnect";
version = "0.6.3";
src = fetchPypi {
inherit pname version;
sha256 = "0n4h4mi23zw3v6fbkz17fa6kkl5v9bfmj0p57jvfzcfww511y9mn";
};
propagatedBuildInputs = [
requests
requests_oauthlib
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "homeconnect" ];
meta = with lib; {
description = "Python client for the BSH Home Connect REST API";
homepage = "https://github.com/DavidMStraub/homeconnect";
changelog = "https://github.com/DavidMStraub/homeconnect/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -351,7 +351,7 @@
"hitron_coda" = ps: with ps; [ ];
"hive" = ps: with ps; [ ]; # missing inputs: pyhiveapi
"hlk_sw16" = ps: with ps; [ ]; # missing inputs: hlk-sw16
"home_connect" = ps: with ps; [ aiohttp-cors ]; # missing inputs: homeconnect
"home_connect" = ps: with ps; [ aiohttp-cors homeconnect ];
"home_plus_control" = ps: with ps; [ aiohttp-cors homepluscontrol ];
"homeassistant" = ps: with ps; [ ];
"homekit" = ps: with ps; [ HAP-python pyqrcode pyturbojpeg aiohttp-cors base36 fnvhash ha-ffmpeg zeroconf ];

View File

@ -267,6 +267,7 @@ in with py.pkgs; buildPythonApplication rec {
"hddtemp"
"history"
"history_stats"
"home_connect"
"home_plus_control"
"homekit"
"homekit_controller"

View File

@ -3195,6 +3195,8 @@ in {
homeassistant-pyozw = callPackage ../development/python-modules/homeassistant-pyozw { };
homeconnect = callPackage ../development/python-modules/homeconnect { };
homematicip = callPackage ../development/python-modules/homematicip { };
homepluscontrol = callPackage ../development/python-modules/homepluscontrol { };