diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-12-02 18:48:31 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-12-02 18:48:31 +0100 |
commit | ab0d6cb4a85faf6e1a9c0a2b92b3481087d1bcfd (patch) | |
tree | 228d28f1b13f13bcbec01a480f5048976cf6ed39 /pkgs/development/python-modules/httpx-socks | |
parent | 7dfe5277ce7339ba1f238ad9550d599c66840e72 (diff) |
python3Packages.httpx-socks: add missing dependencies
Diffstat (limited to 'pkgs/development/python-modules/httpx-socks')
-rw-r--r-- | pkgs/development/python-modules/httpx-socks/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/httpx-socks/default.nix b/pkgs/development/python-modules/httpx-socks/default.nix index 47e39dcef3c4f..fac9ecba6ce9a 100644 --- a/pkgs/development/python-modules/httpx-socks/default.nix +++ b/pkgs/development/python-modules/httpx-socks/default.nix @@ -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"; |