From 3bd4979a4e746282a604e762020a03ee730acb8e Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Thu, 29 Jun 2023 04:00:55 +0000 Subject: [PATCH] credential-detector: 1.11.0 -> 1.14.3 --- pkgs/tools/security/credential-detector/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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";