Merge pull request #157961 from fabaff/aiowebostv
This commit is contained in:
commit
ef2dd40595
3 changed files with 43 additions and 1 deletions
39
pkgs/development/python-modules/aiowebostv/default.nix
Normal file
39
pkgs/development/python-modules/aiowebostv/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, websockets
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiowebostv";
|
||||
version = "0.1.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-YSrttPoU5XQ9tqNxhHBUqZqKaEZdUdYYJ2CsSREVbbg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
websockets
|
||||
];
|
||||
|
||||
# Module doesn't have tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiowebostv"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to interact with LG webOS based TV devices";
|
||||
homepage = "https://github.com/home-assistant-libs/aiowebostv";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -981,7 +981,7 @@
|
|||
"waze_travel_time" = ps: with ps; [ wazeroutecalculator ];
|
||||
"weather" = ps: with ps; [ ];
|
||||
"webhook" = ps: with ps; [ aiohttp-cors ];
|
||||
"webostv" = ps: with ps; [ sqlalchemy ]; # missing inputs: aiowebostv
|
||||
"webostv" = ps: with ps; [ aiowebostv sqlalchemy ];
|
||||
"websocket_api" = ps: with ps; [ aiohttp-cors ];
|
||||
"wemo" = ps: with ps; [ pywemo ];
|
||||
"whirlpool" = ps: with ps; [ whirlpool-sixth-sense ];
|
||||
|
@ -1586,6 +1586,7 @@
|
|||
"waze_travel_time"
|
||||
"weather"
|
||||
"webhook"
|
||||
"webostv"
|
||||
"websocket_api"
|
||||
"wemo"
|
||||
"whirlpool"
|
||||
|
|
|
@ -416,6 +416,8 @@ in {
|
|||
|
||||
aiowatttime = callPackage ../development/python-modules/aiowatttime { };
|
||||
|
||||
aiowebostv = callPackage ../development/python-modules/aiowebostv { };
|
||||
|
||||
aiowinreg = callPackage ../development/python-modules/aiowinreg { };
|
||||
|
||||
aioymaps = callPackage ../development/python-modules/aioymaps { };
|
||||
|
|
Loading…
Reference in a new issue