From 7bba50f51452bf41cba233114bac4f5812695eb1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 1 Jul 2023 12:15:16 +0200 Subject: secretscanner: add changelog to meta --- pkgs/tools/security/secretscanner/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pkgs/tools/security/secretscanner') diff --git a/pkgs/tools/security/secretscanner/default.nix b/pkgs/tools/security/secretscanner/default.nix index 859e6edc6fa0..cff77db6b849 100644 --- a/pkgs/tools/security/secretscanner/default.nix +++ b/pkgs/tools/security/secretscanner/default.nix @@ -15,7 +15,7 @@ buildGoModule rec { src = fetchFromGitHub { owner = "deepfence"; repo = "SecretScanner"; - rev = "v${version}"; + rev = "refs/tags/v${version}"; fetchSubmodules = true; hash = "sha256-lTUZLuEiC9xpHYWn3uv4ZtbvHX6ETsjxacjd/O0kU8I="; }; @@ -33,7 +33,9 @@ buildGoModule rec { protoc-gen-go-grpc ]; - buildInputs = [ hyperscan ]; + buildInputs = [ + hyperscan + ]; preBuild = '' # Compile proto files @@ -47,6 +49,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to find secrets and passwords in container images and file systems"; homepage = "https://github.com/deepfence/SecretScanner"; + changelog = "https://github.com/deepfence/SecretScanner/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; -- cgit 1.4.1