Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 36 lines 779 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "gobuster"; 9 version = "3.8.0"; 10 11 src = fetchFromGitHub { 12 owner = "OJ"; 13 repo = "gobuster"; 14 tag = "v${version}"; 15 hash = "sha256-EUfpCuEbWe0+98b63ITrAeB6GGfu1b9vbP6/5gg/7Nw="; 16 }; 17 18 vendorHash = "sha256-k3NDFBDMiysrnjiEODrrxLdpePLCzUYD41mZbiYuqAE="; 19 20 ldflags = [ 21 "-s" 22 "-w" 23 ]; 24 25 meta = { 26 description = "Tool used to brute-force URIs, DNS subdomains, Virtual Host names on target web servers"; 27 mainProgram = "gobuster"; 28 homepage = "https://github.com/OJ/gobuster"; 29 changelog = "https://github.com/OJ/gobuster/releases/tag/v${version}"; 30 license = lib.licenses.asl20; 31 maintainers = with lib.maintainers; [ 32 fab 33 pamplemousse 34 ]; 35 }; 36}