18 buildPythonPackage rec {
23 disabled = pythonOlder "3.9";
25 src = fetchFromGitHub {
26 owner = "ctalkington";
27 repo = "python-rokuecp";
28 rev = "refs/tags/${version}";
29 hash = "sha256-L6uedckc2lEQ6CUlQGEyDhnuVsxRRgDQJUEsZTfm2sU=";
36 propagatedBuildInputs = [
53 substituteInPlace pyproject.toml \
54 --replace 'version = "0.0.0"' 'version = "${version}"' \
59 # Network related tests are having troube in the sandbox
60 "test_resolve_hostname"
63 "test_guess_stream_format"
65 "test_get_apps_single_app"
66 "test_get_tv_channels_single_channel"
69 pythonImportsCheck = [
74 description = "Asynchronous Python client for Roku (ECP)";
75 homepage = "https://github.com/ctalkington/python-rokuecp";
76 changelog = "https://github.com/ctalkington/python-rokuecp/releases/tag/${version}";
77 license = licenses.mit;
78 maintainers = with maintainers; [ fab ];