Merge pull request #127418 from dotlambda/emulated-roku-init
This commit is contained in:
commit
1a7a786dc1
4 changed files with 37 additions and 1 deletions
33
pkgs/development/python-modules/emulated-roku/default.nix
Normal file
33
pkgs/development/python-modules/emulated-roku/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
|
|
|
@ -372,6 +372,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"emonitor"
|
||||
"emulated_hue"
|
||||
"emulated_kasa"
|
||||
"emulated_roku"
|
||||
"enocean"
|
||||
"enphase_envoy"
|
||||
"epson"
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue