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