Unverified Commit 5a569512 authored by jade's avatar jade Committed by GitHub
Browse files

gitleaks: 8.20.1 -> 8.21.0 (#348923)

parents 749deccd 96e708de
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -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 = ''