Merge pull request #127358 from dotlambda/epson-projector-init

This commit is contained in:
Sandro 2021-06-18 20:01:29 +02:00 committed by GitHub
commit e7f3952762
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 46 additions and 1 deletions

View file

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, async-timeout
, pyserial-asyncio
}:
buildPythonPackage rec {
pname = "epson-projector";
version = "0.4.2";
src = fetchPypi {
pname = "epson_projector";
inherit version;
sha256 = "4ade1c7a0f7008d23b08bd886c8790c44cf7d60453d1eb5a8077c92aaf790d30";
};
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 ];
};
}

View file

@ -232,7 +232,7 @@
"envirophat" = ps: with ps; [ smbus-cffi ]; # missing inputs: envirophat
"envisalink" = ps: with ps; [ pyenvisalink ];
"ephember" = ps: with ps; [ ]; # missing inputs: pyephember
"epson" = ps: with ps; [ ]; # missing inputs: epson-projector
"epson" = ps: with ps; [ epson-projector ];
"epsonworkforce" = ps: with ps; [ ]; # missing inputs: epsonprinter
"eq3btsmart" = ps: with ps; [ construct ]; # missing inputs: python-eq3bt
"esphome" = ps: with ps; [ aioesphomeapi aiohttp-cors ifaddr zeroconf ];

View file

@ -373,6 +373,7 @@ in with py.pkgs; buildPythonApplication rec {
"emulated_hue"
"emulated_kasa"
"enphase_envoy"
"epson"
"esphome"
"everlights"
"ezviz"

View file

@ -2299,6 +2299,8 @@ in {
ephem = callPackage ../development/python-modules/ephem { };
epson-projector = callPackage ../development/python-modules/epson-projector { };
eradicate = callPackage ../development/python-modules/eradicate { };
escapism = callPackage ../development/python-modules/escapism { };