From 660bebff99e9d2b0df21c27dd3285de89f5aac01 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 2 Dec 2022 17:13:58 +0100 Subject: [PATCH] gitleaks: add changelog to meta --- pkgs/tools/security/gitleaks/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/gitleaks/default.nix b/pkgs/tools/security/gitleaks/default.nix index 5d7465f728a8..e0b54248d9aa 100644 --- a/pkgs/tools/security/gitleaks/default.nix +++ b/pkgs/tools/security/gitleaks/default.nix @@ -14,10 +14,10 @@ buildGoModule rec { owner = "zricethezav"; repo = pname; rev = "v${version}"; - sha256 = "sha256-iIjQytsZDz9H5wT44jBBZCx8NvfAhNBl7pTv3mCkeMY="; + hash = "sha256-iIjQytsZDz9H5wT44jBBZCx8NvfAhNBl7pTv3mCkeMY="; }; - vendorSha256 = "sha256-Ev0/CSpwJDmc+Dvu/bFDzsgsq80rWImJWXNAUqYHgoE="; + vendorHash = "sha256-Ev0/CSpwJDmc+Dvu/bFDzsgsq80rWImJWXNAUqYHgoE="; ldflags = [ "-s" @@ -25,7 +25,9 @@ buildGoModule rec { "-X github.com/zricethezav/gitleaks/v${lib.versions.major version}/cmd.Version=${version}" ]; - nativeBuildInputs = [ installShellFiles ]; + nativeBuildInputs = [ + installShellFiles + ]; # With v8 the config tests are are blocking doCheck = false; @@ -49,6 +51,7 @@ buildGoModule rec { API keys and tokens in git repos. ''; homepage = "https://github.com/zricethezav/gitleaks"; + changelog = "https://github.com/zricethezav/gitleaks/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };