Merge pull request #128008 from dotlambda/konnected-init

home-assistant: support konnected component
This commit is contained in:
Fabian Affolter 2021-06-24 18:48:20 +02:00 committed by GitHub
commit 8004e04140
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
}:
buildPythonPackage rec {
pname = "konnected";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "b8b4e15c3228b01c9fad3651e09fea1654357ae8c333096e759a1b7d0eb4e789";
};
propagatedBuildInputs = [
aiohttp
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "konnected" ];
meta = with lib; {
description = "Async Python library for interacting with Konnected home automation controllers";
homepage = "https://github.com/konnected-io/konnected-py";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -430,7 +430,7 @@
"kmtronic" = ps: with ps; [ pykmtronic ];
"knx" = ps: with ps; [ xknx ];
"kodi" = ps: with ps; [ pykodi ];
"konnected" = ps: with ps; [ aiohttp-cors ]; # missing inputs: konnected
"konnected" = ps: with ps; [ aiohttp-cors konnected ];
"kostal_plenticore" = ps: with ps; [ ]; # missing inputs: kostal_plenticore
"kraken" = ps: with ps; [ ]; # missing inputs: krakenex pykrakenapi
"kulersky" = ps: with ps; [ pykulersky ];

View File

@ -492,6 +492,7 @@ in with py.pkgs; buildPythonApplication rec {
"kmtronic"
"knx"
"kodi"
"konnected"
"kulersky"
"lastfm"
"lcn"

View File

@ -3872,6 +3872,8 @@ in {
kombu = callPackage ../development/python-modules/kombu { };
konnected = callPackage ../development/python-modules/konnected { };
korean-lunar-calendar = callPackage ../development/python-modules/korean-lunar-calendar { };
kubernetes = callPackage ../development/python-modules/kubernetes { };