Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / epson-projector / default.nix
blob30e021842e76f2f8c2773488306d4d6554da29c3
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , aiohttp
5 , async-timeout
6 , pyserial-asyncio
7 }:
9 buildPythonPackage rec {
10   pname = "epson-projector";
11   version = "0.5.1";
12   format = "setuptools";
14   src = fetchPypi {
15     pname = "epson_projector";
16     inherit version;
17     hash = "sha256-LwsdMuwvLifIP1PRNhfLi4TTZRp/cw9Bcf57vrsNrbI=";
18   };
20   propagatedBuildInputs = [
21     aiohttp
22     async-timeout
23     pyserial-asyncio
24   ];
26   # tests need real device
27   doCheck = false;
29   pythonImportsCheck = [
30     "epson_projector"
31     "epson_projector.const"
32     "epson_projector.projector_http"
33     "epson_projector.projector_serial"
34     "epson_projector.projector_tcp"
35   ];
37   meta = with lib; {
38     description = "Epson projector support for Python";
39     homepage = "https://github.com/pszafer/epson_projector";
40     license = licenses.mit;
41     maintainers = with maintainers; [ dotlambda ];
42   };