about summary refs log tree commit diff
path: root/pkgs/tools/security/credential-detector
diff options
context:
space:
mode:
authorAaron Jheng <wentworth@outlook.com>2023-06-29 04:00:55 +0000
committerAaron Jheng <wentworth@outlook.com>2023-06-29 04:00:55 +0000
commit3bd4979a4e746282a604e762020a03ee730acb8e (patch)
tree80356a0de6eea4c5e7f83dc9546066cc5a54b640 /pkgs/tools/security/credential-detector
parent2c8591ad6a6f9d679817a94f847c59b0d1e3289e (diff)
credential-detector: 1.11.0 -> 1.14.3
Diffstat (limited to 'pkgs/tools/security/credential-detector')
-rw-r--r--pkgs/tools/security/credential-detector/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/tools/security/credential-detector/default.nix b/pkgs/tools/security/credential-detector/default.nix
index e4ef8a6e90dca..fd3e40b6536cc 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";