wapiti: update propagatedBuildInputs

main
Robert Schütz 2 years ago committed by Robert Schütz
parent 1724a34a0d
commit a664572fa6
  1. 8
      pkgs/tools/security/wapiti/default.nix

@ -29,20 +29,18 @@ python3.pkgs.buildPythonApplication rec {
dnspython
httpcore
httpx
httpx-ntlm
httpx-socks
humanize
loguru
Mako
markupsafe
pysocks
six
sqlalchemy
tld
yaswfp
] ++ lib.optionals (python3.pythonOlder "3.8") [
importlib-metadata
];
] ++ httpx.extras-require.brotli
++ httpx.extras-require.socks;
checkInputs = with python3.pkgs; [
respx
@ -52,8 +50,6 @@ python3.pkgs.buildPythonApplication rec {
postPatch = ''
# 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
substituteInPlace setup.cfg \
--replace " --cov --cov-report=xml" ""

Loading…
Cancel
Save