Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pylgnetcast / default.nix
blobf4811bf02dfc10e6dfbdbbf64a4a567dca677c01
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "pylgnetcast";
10   version = "0.3.9";
11   format = "setuptools";
13   disabled = pythonOlder "3.6";
15   src = fetchFromGitHub {
16     owner = "Drafteed";
17     repo = "python-lgnetcast";
18     rev = "refs/tags/v${version}";
19     hash = "sha256-5lzLknuGLQryLCc4YQJn8AGuWTiSM90+8UTQ/WYfASM=";
20   };
22   propagatedBuildInputs = [
23     requests
24   ];
26   # Project has no tests
27   doCheck = false;
29   pythonImportsCheck = [
30     "pylgnetcast"
31   ];
33   meta = with lib; {
34     description = "Python API client for the LG Smart TV running NetCast 3 or 4";
35     homepage = "https://github.com/Drafteed/python-lgnetcast";
36     changelog = "https://github.com/Drafteed/python-lgnetcast/releases/tag/v${version}";
37     license = with licenses; [ mit ];
38     maintainers = with maintainers; [ fab ];
39   };