python3Packages.httpcore: specify extras-require

main
Robert Schütz 2 years ago committed by Robert Schütz
parent ee9b1bfa09
commit cbfb0da7a2
  1. 10
      pkgs/development/python-modules/httpcore/default.nix

@ -39,11 +39,14 @@ buildPythonPackage rec {
anyio
certifi
h11
h2
sniffio
socksio
];
passthru.extras-require = {
http2 = [ h2 ];
socks = [ socksio ];
};
checkInputs = [
pproxy
pytest-asyncio
@ -53,7 +56,8 @@ buildPythonPackage rec {
trio
trustme
uvicorn
];
] ++ passthru.extras-require.http2
++ passthru.extras-require.socks;
pythonImportsCheck = [ "httpcore" ];

Loading…
Cancel
Save