python3Packages.pylgnetcast: init at 0.3.4

This commit is contained in:
Fabian Affolter 2021-10-24 22:05:10 +02:00
parent 1f89685452
commit f4b91c6cbd
2 changed files with 41 additions and 0 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

@ -6505,6 +6505,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 { };