mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-03 11:07:44 +03:00
python3Packages.httpcore: specify extras-require
This commit is contained in:
parent
ee9b1bfa09
commit
cbfb0da7a2
@ -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…
Reference in New Issue
Block a user