19 buildPythonPackage rec {
24 disabled = pythonOlder "3.9";
26 src = fetchFromGitHub {
27 owner = "ctalkington";
28 repo = "python-rokuecp";
29 rev = "refs/tags/${version}";
30 hash = "sha256-GotVSRSMdbAtDmVEXNizf5Pf/02sva1R/6ULL6h7ciY=";
34 substituteInPlace pyproject.toml \
35 --replace-fail 'version = "0.0.0"' 'version = "${version}"' \
36 --replace-fail "--cov" ""
39 build-system = [ poetry-core ];
58 # Network related tests are having troube in the sandbox
59 "test_resolve_hostname"
62 "test_guess_stream_format"
64 "test_get_apps_single_app"
65 "test_get_tv_channels_single_channel"
68 pythonImportsCheck = [ "rokuecp" ];
71 description = "Asynchronous Python client for Roku (ECP)";
72 homepage = "https://github.com/ctalkington/python-rokuecp";
73 changelog = "https://github.com/ctalkington/python-rokuecp/releases/tag/${version}";
74 license = licenses.mit;
75 maintainers = with maintainers; [ fab ];