Merge pull request #142779 from fabaff/pylgnetcast

This commit is contained in:
Sandro 2021-10-26 13:42:29 +02:00 committed by GitHub
commit faca88c39f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 1 deletions

View file

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
, pythonOlder
}:
buildPythonPackage rec {
pname = "pylgnetcast";
version = "0.3.4";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "Drafteed";
repo = "python-lgnetcast";
rev = "v${version}-1";
sha256 = "04bh5i4zchdg0lgwpic8wfbk77n225g71z55iin9r0083xbhd7bh";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"pylgnetcast"
];
meta = with lib; {
description = "Python API client for the LG Smart TV running NetCast 3 or 4";
homepage = "https://github.com/Drafteed/python-lgnetcast";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -452,7 +452,7 @@
"lastfm" = ps: with ps; [ pylast ];
"launch_library" = ps: with ps; [ ]; # missing inputs: pylaunches
"lcn" = ps: with ps; [ pypck ];
"lg_netcast" = ps: with ps; [ ]; # missing inputs: pylgnetcast
"lg_netcast" = ps: with ps; [ pylgnetcast ];
"lg_soundbar" = ps: with ps; [ ]; # missing inputs: temescal
"life360" = ps: with ps; [ ]; # missing inputs: life360
"lifx" = ps: with ps; [ aiolifx aiolifx-effects ];

View file

@ -6507,6 +6507,8 @@ in {
pylev = callPackage ../development/python-modules/pylev { };
pylgnetcast = callPackage ../development/python-modules/pylgnetcast { };
pylibacl = callPackage ../development/python-modules/pylibacl { };
pylibconfig2 = callPackage ../development/python-modules/pylibconfig2 { };