From e4eba471d19d2366a17cf36dd96a0e33a2b34807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 5 May 2022 06:23:52 +0000 Subject: [PATCH] python3Packages.httpx-socks: specify extras-require --- .../python-modules/httpx-socks/default.nix | 11 ++++++----- 1 file 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 e45e6a85487..3bfbf2327f2 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