23 buildPythonPackage rec {
24 pname = "httpx-socks";
28 disabled = pythonOlder "3.7";
30 src = fetchFromGitHub {
34 hash = "sha256-PUiciSuDCO4r49st6ye5xPLCyvYMKfZY+yHAkp5j3ZI=";
37 build-system = [ setuptools ];
43 ] ++ python-socks.optional-dependencies.asyncio;
45 optional-dependencies = {
46 asyncio = [ async-timeout ];
50 __darwinAllowLocalNetworking = true;
64 pythonImportsCheck = [ "httpx_socks" ];
67 # Tests don't work in the sandbox
73 description = "Proxy (HTTP, SOCKS) transports for httpx";
74 homepage = "https://github.com/romis2012/httpx-socks";
75 changelog = "https://github.com/romis2012/httpx-socks/releases/tag/v${version}";
76 license = licenses.asl20;
77 maintainers = with maintainers; [ fab ];