1{ lib 2, buildPythonPackage 3, fetchPypi 4, aiohttp 5, async-timeout 6, pyserial-asyncio 7}: 8 9buildPythonPackage rec { 10 pname = "epson-projector"; 11 version = "0.5.1"; 12 13 src = fetchPypi { 14 pname = "epson_projector"; 15 inherit version; 16 hash = "sha256-LwsdMuwvLifIP1PRNhfLi4TTZRp/cw9Bcf57vrsNrbI="; 17 }; 18 19 propagatedBuildInputs = [ 20 aiohttp 21 async-timeout 22 pyserial-asyncio 23 ]; 24 25 # tests need real device 26 doCheck = false; 27 28 pythonImportsCheck = [ 29 "epson_projector" 30 "epson_projector.const" 31 "epson_projector.projector_http" 32 "epson_projector.projector_serial" 33 "epson_projector.projector_tcp" 34 ]; 35 36 meta = with lib; { 37 description = "Epson projector support for Python"; 38 homepage = "https://github.com/pszafer/epson_projector"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ dotlambda ]; 41 }; 42}