depot/third_party/nixpkgs/pkgs/development/python-modules/epson-projector/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

43 lines
882 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, async-timeout
, pyserial-asyncio
}:
buildPythonPackage rec {
pname = "epson-projector";
version = "0.5.1";
format = "setuptools";
src = fetchPypi {
pname = "epson_projector";
inherit version;
hash = "sha256-LwsdMuwvLifIP1PRNhfLi4TTZRp/cw9Bcf57vrsNrbI=";
};
propagatedBuildInputs = [
aiohttp
async-timeout
pyserial-asyncio
];
# tests need real device
doCheck = false;
pythonImportsCheck = [
"epson_projector"
"epson_projector.const"
"epson_projector.projector_http"
"epson_projector.projector_serial"
"epson_projector.projector_tcp"
];
meta = with lib; {
description = "Epson projector support for Python";
homepage = "https://github.com/pszafer/epson_projector";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}