Merge pull request #128008 from dotlambda/konnected-init
home-assistant: support konnected component
This commit is contained in:
commit
8004e04140
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 ];
|
"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 ];
|
||||||
|
@ -492,6 +492,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||||||
"kmtronic"
|
"kmtronic"
|
||||||
"knx"
|
"knx"
|
||||||
"kodi"
|
"kodi"
|
||||||
|
"konnected"
|
||||||
"kulersky"
|
"kulersky"
|
||||||
"lastfm"
|
"lastfm"
|
||||||
"lcn"
|
"lcn"
|
||||||
|
@ -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 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user