diff --git a/pkgs/development/python-modules/emulated-roku/default.nix b/pkgs/development/python-modules/emulated-roku/default.nix new file mode 100644 index 000000000000..3a9da2ba8e37 --- /dev/null +++ b/pkgs/development/python-modules/emulated-roku/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4b258efcc92b..a6ebffcb8918 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };