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