1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pyyaml, 7}: 8 9buildPythonPackage rec { 10 pname = "sharp-aquos-rc"; 11 version = "0.4"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "jmoore987"; 16 repo = "sharp_aquos_rc"; 17 tag = version; 18 hash = "sha256-w/XA58iT/pmNCy9up5fayjxBsevzgr8ImKgPiNtYHAM="; 19 }; 20 21 nativeBuildInputs = [ setuptools ]; 22 23 propagatedBuildInputs = [ pyyaml ]; 24 25 # No tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "sharp_aquos_rc" ]; 29 30 meta = with lib; { 31 homepage = "https://github.com/jmoore987/sharp_aquos_rc"; 32 description = "Control Sharp Aquos SmartTVs through the IP interface"; 33 changelog = "https://github.com/jmoore987/sharp_aquos_rc/releases/tag/${version}"; 34 maintainers = with maintainers; [ jamiemagee ]; 35 license = licenses.mit; 36 }; 37}