diff --git a/pkgs/development/python-modules/python-socks/default.nix b/pkgs/development/python-modules/python-socks/default.nix index 1722c1c89080..10586ecbbfcf 100644 --- a/pkgs/development/python-modules/python-socks/default.nix +++ b/pkgs/development/python-modules/python-socks/default.nix @@ -37,6 +37,13 @@ buildPythonPackage rec { async-timeout ]; + optional-dependencies = { + asyncio = lib.optionals (pythonOlder "3.11") [ async-timeout ]; + trio = [ trio ]; + curio = [ curio ]; + anyio = [ anyio ]; + }; + doCheck = false; # requires tiny_proxy module nativeCheckInputs = [