1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 requests, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "pylgnetcast"; 11 version = "0.3.9"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchFromGitHub { 17 owner = "Drafteed"; 18 repo = "python-lgnetcast"; 19 tag = "v${version}"; 20 hash = "sha256-5lzLknuGLQryLCc4YQJn8AGuWTiSM90+8UTQ/WYfASM="; 21 }; 22 23 propagatedBuildInputs = [ requests ]; 24 25 # Project has no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "pylgnetcast" ]; 29 30 meta = with lib; { 31 description = "Python API client for the LG Smart TV running NetCast 3 or 4"; 32 homepage = "https://github.com/Drafteed/python-lgnetcast"; 33 changelog = "https://github.com/Drafteed/python-lgnetcast/releases/tag/v${version}"; 34 license = with licenses; [ mit ]; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}