gitleaks: 8.20.1 -> 8.21.0 (#348923)

This commit is contained in:
jade
2024-10-18 13:41:48 -07:00
committed by GitHub
+6 -3
View File
@@ -6,20 +6,21 @@
gitleaks,
installShellFiles,
testers,
nix-update-script,
}:
buildGoModule rec {
pname = "gitleaks";
version = "8.20.1";
version = "8.21.0";
src = fetchFromGitHub {
owner = "zricethezav";
repo = "gitleaks";
rev = "refs/tags/v${version}";
hash = "sha256-oIhA1+gicNXDHzpdVzFeDvJHGCrqBhwyV+KOyYwMaK8=";
hash = "sha256-oBX9V7OQ+t1hBLsYvX3u5BY8VSj2YGNJ/6qdJH6BVhg=";
};
vendorHash = "sha256-4bGpTMmQmsJQ2RNIehYe0xAwwGOh2l6FGsKdciEVLAc=";
vendorHash = "sha256-BxuqNe021wfvFHpTRQtDImallBg2PcIX5qM7aLB+uH0=";
ldflags = [
"-s"
@@ -44,6 +45,8 @@ buildGoModule rec {
command = "${pname} version";
};
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Scan git repos (or files) for secrets";
longDescription = ''