Merge pull request #127418 from dotlambda/emulated-roku-init

This commit is contained in:
Martin Weinelt 2021-06-19 01:19:06 +02:00 committed by GitHub
commit 1a7a786dc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 1 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
}:
buildPythonPackage rec {
pname = "emulated-roku";
version = "0.2.1";
src = fetchFromGitHub {
owner = "mindigmarton";
repo = "emulated_roku";
rev = version;
sha256 = "02cbg5wrph19p6x44jlw6cn3jli0kwbgfh6klb3c4k5jfrkhgghw";
};
propagatedBuildInputs = [
aiohttp
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "emulated_roku" ];
meta = with lib; {
description = "Library to emulate a roku server to serve as a proxy for remotes such as Harmony";
homepage = "https://github.com/mindigmarton/emulated_roku";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -223,7 +223,7 @@
"emonitor" = ps: with ps; [ aioemonitor ];
"emulated_hue" = ps: with ps; [ aiohttp-cors ];
"emulated_kasa" = ps: with ps; [ sense-energy ];
"emulated_roku" = ps: with ps; [ ]; # missing inputs: emulated_roku
"emulated_roku" = ps: with ps; [ emulated-roku ];
"enigma2" = ps: with ps; [ openwebifpy ];
"enocean" = ps: with ps; [ enocean ];
"enphase_envoy" = ps: with ps; [ envoy-reader ];

View file

@ -372,6 +372,7 @@ in with py.pkgs; buildPythonApplication rec {
"emonitor"
"emulated_hue"
"emulated_kasa"
"emulated_roku"
"enocean"
"enphase_envoy"
"epson"

View file

@ -2265,6 +2265,8 @@ in {
emoji = callPackage ../development/python-modules/emoji { };
emulated-roku = callPackage ../development/python-modules/emulated-roku { };
enaml = callPackage ../development/python-modules/enaml { };
enamlx = callPackage ../development/python-modules/enamlx { };