python3Packages.wfuzz: tidy style nits

- Sort dependencies alphabetically (pyparsing/setuptools/six were out of
  order relative to nixpkgs Python convention).
- Note that the imp -> importlib patch is needed for Python >= 3.12, not
  just 3.12, since imp stays removed in 3.13+.
- Use the canonical "v\${version}" form for the changelog URL instead of
  reaching through finalAttrs.src.tag.
This commit is contained in:
Bad3r
2026-05-04 22:58:58 +03:00
parent ba1de2fadb
commit 335d81bf74
@@ -29,7 +29,7 @@ buildPythonPackage (finalAttrs: {
};
patches = [
# replace use of imp module for Python 3.12
# replace use of imp module for Python >= 3.12
# https://github.com/xmendez/wfuzz/pull/365
(fetchpatch2 {
url = "https://github.com/xmendez/wfuzz/commit/f4c028b9ada4c36dabf3bc752f69f6ddc110920f.patch?full_index=1";
@@ -48,9 +48,9 @@ buildPythonPackage (finalAttrs: {
legacy-cgi
netaddr # src/wfuzz/plugins/payloads/{iprange,ipnet}.py
pycurl
six
setuptools
pyparsing
setuptools
six
]
++ lib.optionals stdenv.hostPlatform.isWindows [ colorama ];