|
|
@ -29,20 +29,18 @@ python3.pkgs.buildPythonApplication rec { |
|
|
|
dnspython |
|
|
|
dnspython |
|
|
|
httpcore |
|
|
|
httpcore |
|
|
|
httpx |
|
|
|
httpx |
|
|
|
httpx-ntlm |
|
|
|
|
|
|
|
httpx-socks |
|
|
|
|
|
|
|
humanize |
|
|
|
humanize |
|
|
|
loguru |
|
|
|
loguru |
|
|
|
Mako |
|
|
|
Mako |
|
|
|
markupsafe |
|
|
|
markupsafe |
|
|
|
pysocks |
|
|
|
|
|
|
|
six |
|
|
|
six |
|
|
|
sqlalchemy |
|
|
|
sqlalchemy |
|
|
|
tld |
|
|
|
tld |
|
|
|
yaswfp |
|
|
|
yaswfp |
|
|
|
] ++ lib.optionals (python3.pythonOlder "3.8") [ |
|
|
|
] ++ lib.optionals (python3.pythonOlder "3.8") [ |
|
|
|
importlib-metadata |
|
|
|
importlib-metadata |
|
|
|
]; |
|
|
|
] ++ httpx.extras-require.brotli |
|
|
|
|
|
|
|
++ httpx.extras-require.socks; |
|
|
|
|
|
|
|
|
|
|
|
checkInputs = with python3.pkgs; [ |
|
|
|
checkInputs = with python3.pkgs; [ |
|
|
|
respx |
|
|
|
respx |
|
|
@ -52,8 +50,6 @@ python3.pkgs.buildPythonApplication rec { |
|
|
|
|
|
|
|
|
|
|
|
postPatch = '' |
|
|
|
postPatch = '' |
|
|
|
# Ignore pinned versions |
|
|
|
# Ignore pinned versions |
|
|
|
substituteInPlace setup.py \ |
|
|
|
|
|
|
|
--replace "httpx-socks[asyncio] == 0.6.0" "httpx-socks[asyncio]" |
|
|
|
|
|
|
|
sed -i -e "s/==[0-9.]*//;s/>=[0-9.]*//" setup.py |
|
|
|
sed -i -e "s/==[0-9.]*//;s/>=[0-9.]*//" setup.py |
|
|
|
substituteInPlace setup.cfg \ |
|
|
|
substituteInPlace setup.cfg \ |
|
|
|
--replace " --cov --cov-report=xml" "" |
|
|
|
--replace " --cov --cov-report=xml" "" |
|
|
|