diff --git a/pkgs/tools/security/credential-detector/default.nix b/pkgs/tools/security/credential-detector/default.nix index e4ef8a6e90dc..fd3e40b6536c 100644 --- a/pkgs/tools/security/credential-detector/default.nix +++ b/pkgs/tools/security/credential-detector/default.nix @@ -5,16 +5,18 @@ buildGoModule rec { pname = "credential-detector"; - version = "1.11.0"; + version = "1.14.3"; src = fetchFromGitHub { owner = "ynori7"; repo = pname; rev = "v${version}"; - sha256 = "sha256-zUQRzlp/7gZhCm5JYu9kYxcoFjDldCYKarRorOHa3E0="; + hash = "sha256-20ySTLpjTc1X0iJsbzbeLmWF0xYzzREGOqEWrB2X1GQ="; }; - vendorSha256 = "sha256-VWmfATUbfnI3eJbFTUp6MR1wGESuI15PHZWuon5M5rg="; + vendorHash = "sha256-VWmfATUbfnI3eJbFTUp6MR1wGESuI15PHZWuon5M5rg="; + + ldflags = [ "-s" "-w" ]; meta = with lib; { description = "Tool to detect potentially hard-coded credentials";