diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-05-22 16:26:11 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-05-22 16:31:53 +0200 |
commit | 272430c82399d0a2f22b51dd0e564a8709ba6782 (patch) | |
tree | 4bc42f8b3229f50b0e2305e0c0895edb63314fb0 /pkgs/development/python-modules/httpx/default.nix | |
parent | 809ffd6cd33b0020c6ac0be57bf25f3da4c17d31 (diff) |
treewide: migrate python packages to optional-dependencies
This follows the term used by PEP 621.
Diffstat (limited to 'pkgs/development/python-modules/httpx/default.nix')
-rw-r--r-- | pkgs/development/python-modules/httpx/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/httpx/default.nix b/pkgs/development/python-modules/httpx/default.nix index d75dbaa1c9bd..0070d5d04eff 100644 --- a/pkgs/development/python-modules/httpx/default.nix +++ b/pkgs/development/python-modules/httpx/default.nix @@ -49,7 +49,7 @@ buildPythonPackage rec { async_generator ]; - passthru.extras-require = { + passthru.optional-dependencies = { http2 = [ h2 ]; socks = [ socksio ]; brotli = if isPyPy then [ brotlicffi ] else [ brotli ]; @@ -63,9 +63,9 @@ buildPythonPackage rec { trustme typing-extensions uvicorn - ] ++ passthru.extras-require.http2 - ++ passthru.extras-require.brotli - ++ passthru.extras-require.socks; + ] ++ passthru.optional-dependencies.http2 + ++ passthru.optional-dependencies.brotli + ++ passthru.optional-dependencies.socks; postPatch = '' substituteInPlace setup.py \ |