forked from mirrors/nixpkgs
Merge pull request #142779 from fabaff/pylgnetcast
This commit is contained in:
commit
faca88c39f
39
pkgs/development/python-modules/pylgnetcast/default.nix
Normal file
39
pkgs/development/python-modules/pylgnetcast/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue