Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / epson-projector / default.nix
blob66fb7964e53e95647de07b6d25751f93344d607f
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";
13   src = fetchPypi {
14     pname = "epson_projector";
15     inherit version;
16     hash = "sha256-LwsdMuwvLifIP1PRNhfLi4TTZRp/cw9Bcf57vrsNrbI=";
17   };
19   propagatedBuildInputs = [
20     aiohttp
21     async-timeout
22     pyserial-asyncio
23   ];
25   # tests need real device
26   doCheck = false;
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   ];
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   };