diff --git a/pkgs/tools/security/gobuster/default.nix b/pkgs/tools/security/gobuster/default.nix index 279b6cd6c9fc..878fa576b4cd 100644 --- a/pkgs/tools/security/gobuster/default.nix +++ b/pkgs/tools/security/gobuster/default.nix @@ -5,22 +5,27 @@ buildGoModule rec { pname = "gobuster"; - version = "3.5.0"; + version = "3.6.0"; src = fetchFromGitHub { owner = "OJ"; repo = "gobuster"; - rev = "v${version}"; - hash = "sha256-Ohv/FgMbniItbrcrncAe9QKVjrhxoZ80BGYJmJtJpPk="; + rev = "refs/tags/v${version}"; + hash = "sha256-LZL9Zje2u0v6iAQinfjflvusV57ys5J5Il6Q7br3Suc="; }; - vendorHash = "sha256-ZbY5PyXKcTB9spVGfW2Qhj8SV9alOSH0DyXx1dh/NgQ="; + vendorHash = "sha256-w+G5PsWXhKipjYIHtz633sia+Wg9FSFVpcugEl8fp0E="; + + ldflags = [ + "-s" + "-w" + ]; meta = with lib; { description = "Tool used to brute-force URIs, DNS subdomains, Virtual Host names on target web servers"; homepage = "https://github.com/OJ/gobuster"; changelog = "https://github.com/OJ/gobuster/releases/tag/v${version}"; license = licenses.asl20; - maintainers = with maintainers; [ pamplemousse ]; + maintainers = with maintainers; [ fab pamplemousse ]; }; }