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