Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, aiohttp 5, pycryptodome 6, xmltodict 7}: 8 9buildPythonPackage rec { 10 pname = "panasonic-viera"; 11 version = "0.4.0"; 12 13 format = "setuptools"; 14 15 src = fetchPypi { 16 pname = "panasonic_viera"; 17 inherit version; 18 sha256 = "baad2db7958ddbc7288d0f1c50a9eeddd8b83f3d30ad14ac3f6c51fe953e0eb6"; 19 }; 20 21 propagatedBuildInputs = [ 22 aiohttp 23 pycryptodome 24 xmltodict 25 ]; 26 27 # upstream has no tests 28 doCheck = false; 29 30 pythonImportsCheck = [ "panasonic_viera" ]; 31 32 meta = { 33 description = "Library to control Panasonic Viera TVs"; 34 homepage = "https://github.com/florianholzapfel/panasonic-viera"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ dotlambda ]; 37 }; 38}