mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 00:54:40 +00:00
python3Packages.httpx-socks: add missing dependencies
This commit is contained in:
parent
7dfe5277ce
commit
ab0d6cb4a8
@ -6,12 +6,14 @@
|
||||
, flask
|
||||
, httpcore
|
||||
, httpx
|
||||
, hypercorn
|
||||
, pytest-asyncio
|
||||
, pytest-trio
|
||||
, pytestCheckHook
|
||||
, python-socks
|
||||
, pythonOlder
|
||||
, sniffio
|
||||
, starlette
|
||||
, trio
|
||||
, yarl
|
||||
}:
|
||||
@ -19,6 +21,8 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "httpx-socks";
|
||||
version = "0.7.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@ -40,13 +44,17 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [
|
||||
flask
|
||||
hypercorn
|
||||
pytest-asyncio
|
||||
pytest-trio
|
||||
pytestCheckHook
|
||||
starlette
|
||||
yarl
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "httpx_socks" ];
|
||||
pythonImportsCheck = [
|
||||
"httpx_socks"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Proxy (HTTP, SOCKS) transports for httpx";
|
||||
|
Loading…
Reference in New Issue
Block a user