mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
Merge pull request #127358 from dotlambda/epson-projector-init
This commit is contained in:
commit
e7f3952762
4 changed files with 46 additions and 1 deletions
42
pkgs/development/python-modules/epson-projector/default.nix
Normal file
42
pkgs/development/python-modules/epson-projector/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
|
|
|
@ -373,6 +373,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"emulated_hue"
|
||||
"emulated_kasa"
|
||||
"enphase_envoy"
|
||||
"epson"
|
||||
"esphome"
|
||||
"everlights"
|
||||
"ezviz"
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue