ldapnomnom: add ldflags

This commit is contained in:
Fabian Affolter 2023-12-16 10:02:32 +01:00 committed by GitHub
parent 5a5221b8cf
commit 031eba6ab4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,13 +9,18 @@ buildGoModule rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lkarlslund"; owner = "lkarlslund";
repo = pname; repo = "ldapnomnom";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-3s2mLNqnJ+wZ17gy8Yr2Ze0S62A1bmE91E2ciLNO14E="; hash = "sha256-3s2mLNqnJ+wZ17gy8Yr2Ze0S62A1bmE91E2ciLNO14E=";
}; };
vendorHash = "sha256-3ucnLD+qhBSWY2wLtBcsOcuEf1woqHP17qQg7LlERA8="; vendorHash = "sha256-3ucnLD+qhBSWY2wLtBcsOcuEf1woqHP17qQg7LlERA8=";
ldflags = [
"-w"
"-s"
];
meta = with lib; { meta = with lib; {
description = "Tool to anonymously bruteforce usernames from Domain controllers"; description = "Tool to anonymously bruteforce usernames from Domain controllers";
homepage = "https://github.com/lkarlslund/ldapnomnom"; homepage = "https://github.com/lkarlslund/ldapnomnom";