about summary refs log tree commit diff
path: root/pkgs/tools/security/secretscanner/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/secretscanner/default.nix')
-rw-r--r--pkgs/tools/security/secretscanner/default.nix7
1 files changed, 5 insertions, 2 deletions
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 ];
   };