at 24.05-pre 46 lines 1.2 kB view raw
1{ lib 2, buildGoModule 3, fetchFromGitHub 4, fetchpatch 5}: 6 7buildGoModule rec { 8 pname = "ffuf"; 9 version = "2.1.0"; 10 11 src = fetchFromGitHub { 12 owner = "ffuf"; 13 repo = "ffuf"; 14 rev = "refs/tags/v${version}"; 15 hash = "sha256-+wcNqQHtB8yCLiJXMBxolCWsYZbBAsBGS1hs7j1lzUU="; 16 }; 17 18 vendorHash = "sha256-SrC6Q7RKf+gwjJbxSZkWARw+kRtkwVv1UJshc/TkNdc="; 19 20 patches = [ 21 # Fix CSV test, https://github.com/ffuf/ffuf/pull/731 22 (fetchpatch { 23 name = "fix-csv-test.patch"; 24 url = "https://github.com/ffuf/ffuf/commit/7f2aae005ad73988a1fa13c1c33dab71f4ae5bbd.patch"; 25 hash = "sha256-/v9shGICmsbFfEJe4qBkBHB9PVbBlrjY3uFmODxHu9M="; 26 }) 27 ]; 28 29 ldflags = [ 30 "-w" 31 "-s" 32 ]; 33 34 meta = with lib; { 35 description = "Tool for web fuzzing"; 36 longDescription = '' 37 FFUF, or Fuzz Faster you Fool is an open source web fuzzing tool, 38 intended for discovering elements and content within web applications 39 or web servers. 40 ''; 41 homepage = "https://github.com/ffuf/ffuf"; 42 changelog = "https://github.com/ffuf/ffuf/releases/tag/v${version}"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ fab ]; 45 }; 46}