diff --git a/pkgs/development/python-modules/rokuecp/default.nix b/pkgs/development/python-modules/rokuecp/default.nix index bfb5ddcfe5b6..e1ee42b08157 100644 --- a/pkgs/development/python-modules/rokuecp/default.nix +++ b/pkgs/development/python-modules/rokuecp/default.nix @@ -1,12 +1,13 @@ { lib +, aiohttp +, aresponses , buildPythonPackage , fetchFromGitHub -, aiohttp -, xmltodict -, yarl -, aresponses , pytest-asyncio , pytestCheckHook +, pythonOlder +, xmltodict +, yarl }: buildPythonPackage rec { @@ -14,6 +15,8 @@ buildPythonPackage rec { version = "0.8.4"; format = "setuptools"; + disabled = pythonOlder "3.7"; + src = fetchFromGitHub { owner = "ctalkington"; repo = "python-rokuecp"; @@ -33,6 +36,11 @@ buildPythonPackage rec { pytest-asyncio ]; + disabledTests = [ + # https://github.com/ctalkington/python-rokuecp/issues/249 + "test_resolve_hostname" + ]; + pythonImportsCheck = [ "rokuecp" ]; @@ -41,6 +49,6 @@ buildPythonPackage rec { description = "Asynchronous Python client for Roku (ECP)"; homepage = "https://github.com/ctalkington/python-rokuecp"; license = licenses.mit; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ fab ]; }; }