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