diff options
author | Robert Schütz <nix@dotlambda.de> | 2022-05-05 06:23:52 +0000 |
---|---|---|
committer | Robert Schütz <github@dotlambda.de> | 2022-05-09 00:12:37 -0700 |
commit | e4eba471d19d2366a17cf36dd96a0e33a2b34807 (patch) | |
tree | 80e25f4d2a91888efbd49febd833a9aa2a66f122 /pkgs/development/python-modules/httpx-socks | |
parent | a664572fa654fdd4b7a7e39c8c79cc164a93139c (diff) |
python3Packages.httpx-socks: specify extras-require
Diffstat (limited to 'pkgs/development/python-modules/httpx-socks')
-rw-r--r-- | pkgs/development/python-modules/httpx-socks/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/httpx-socks/default.nix b/pkgs/development/python-modules/httpx-socks/default.nix index e45e6a85487a5..3bfbf2327f217 100644 --- a/pkgs/development/python-modules/httpx-socks/default.nix +++ b/pkgs/development/python-modules/httpx-socks/default.nix @@ -33,15 +33,16 @@ buildPythonPackage rec { }; propagatedBuildInputs = [ - async-timeout - curio - httpcore httpx + httpcore python-socks - sniffio - trio ]; + passthru.extras-require = { + asyncio = [ async-timeout ]; + trio = [ trio ]; + }; + checkInputs = [ flask hypercorn |