1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 aiohttp,
7}:
8
9buildPythonPackage rec {
10 pname = "emulated-roku";
11 version = "0.3.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "mindigmarton";
16 repo = "emulated_roku";
17 rev = version;
18 hash = "sha256-7DbJl1e1ESWPCNuQX7m/ggXNDyPYZ5eNGwSz+jnxZj0=";
19 };
20
21 nativeBuildInputs = [ setuptools ];
22
23 propagatedBuildInputs = [ aiohttp ];
24
25 # no tests implemented
26 doCheck = false;
27
28 pythonImportsCheck = [ "emulated_roku" ];
29
30 meta = with lib; {
31 description = "Library to emulate a roku server to serve as a proxy for remotes such as Harmony";
32 homepage = "https://github.com/mindigmarton/emulated_roku";
33 license = licenses.mit;
34 maintainers = with maintainers; [ dotlambda ];
35 };
36}