mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
Merge pull request #114758 from fabaff/aiopylgtv
This commit is contained in:
commit
5ed774aeca
38
pkgs/development/python-modules/aiopylgtv/default.nix
Normal file
38
pkgs/development/python-modules/aiopylgtv/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue