blob: 2fb100a7e8e2fb486008e3f1adeb56d95816086b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
}:
buildPythonPackage rec {
pname = "pylgnetcast";
version = "0.3.9";
format = "setuptools";
src = fetchFromGitHub {
owner = "Drafteed";
repo = "python-lgnetcast";
tag = "v${version}";
hash = "sha256-5lzLknuGLQryLCc4YQJn8AGuWTiSM90+8UTQ/WYfASM=";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pylgnetcast" ];
meta = {
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 lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|