gobuster: add ldflags

This commit is contained in:
Fabian Affolter 2023-08-20 13:26:01 +02:00 committed by GitHub
parent 40086199fc
commit 15c5b0431e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,12 +10,17 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "OJ";
repo = "gobuster";
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-LZL9Zje2u0v6iAQinfjflvusV57ys5J5Il6Q7br3Suc=";
};
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";