fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
873 B
Nix
37 lines
873 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
requests,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pylgnetcast";
|
|
version = "0.3.9";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Drafteed";
|
|
repo = "python-lgnetcast";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-5lzLknuGLQryLCc4YQJn8AGuWTiSM90+8UTQ/WYfASM=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/Drafteed/python-lgnetcast/releases/tag/v${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|