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 ]; "kmtronic" = ps: with ps; [ pykmtronic ];
"knx" = ps: with ps; [ xknx ]; "knx" = ps: with ps; [ xknx ];
"kodi" = ps: with ps; [ pykodi ]; "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 "kostal_plenticore" = ps: with ps; [ ]; # missing inputs: kostal_plenticore
"kraken" = ps: with ps; [ ]; # missing inputs: krakenex pykrakenapi "kraken" = ps: with ps; [ ]; # missing inputs: krakenex pykrakenapi
"kulersky" = ps: with ps; [ pykulersky ]; "kulersky" = ps: with ps; [ pykulersky ];

View File

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

View File

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