Merge pull request #128008 from dotlambda/konnected-init
home-assistant: support konnected component
This commit is contained in:
commit
8004e04140
4 changed files with 35 additions and 1 deletions
31
pkgs/development/python-modules/konnected/default.nix
Normal file
31
pkgs/development/python-modules/konnected/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
|
|
|
@ -492,6 +492,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"kmtronic"
|
||||
"knx"
|
||||
"kodi"
|
||||
"konnected"
|
||||
"kulersky"
|
||||
"lastfm"
|
||||
"lcn"
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue