Merge pull request #114758 from fabaff/aiopylgtv

This commit is contained in:
Sandro 2021-03-01 16:57:40 +01:00 committed by GitHub
commit 5ed774aeca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 1 deletions

View file

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, pythonOlder
, sqlitedict
, websockets
}:
buildPythonPackage rec {
pname = "aiopylgtv";
version = "0.4.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bendavid";
repo = pname;
rev = version;
sha256 = "0x0xcnlz42arsp53zlq5wyv9pwif1in8j2pv48gh0pkdnz9s86b6";
};
propagatedBuildInputs = [
numpy
sqlitedict
websockets
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "aiopylgtv" ];
meta = with lib; {
description = "Python library to control webOS based LG TV units";
homepage = "https://github.com/bendavid/aiopylgtv";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -924,7 +924,7 @@
"waze_travel_time" = ps: with ps; [ WazeRouteCalculator ];
"weather" = ps: with ps; [ ];
"webhook" = ps: with ps; [ aiohttp-cors ];
"webostv" = ps: with ps; [ ]; # missing inputs: aiopylgtv
"webostv" = ps: with ps; [ aiopylgtv ];
"websocket_api" = ps: with ps; [ aiohttp-cors ];
"wemo" = ps: with ps; [ ]; # missing inputs: pywemo
"whois" = ps: with ps; [ python-whois ];

View file

@ -284,6 +284,8 @@ in {
aiopulse = callPackage ../development/python-modules/aiopulse { };
aiopylgtv = callPackage ../development/python-modules/aiopylgtv { };
aiorecollect = callPackage ../development/python-modules/aiorecollect { };
aioredis = callPackage ../development/python-modules/aioredis { };