about summary refs log tree commit diff
path: root/pkgs/tools/security/trufflehog
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-01-04 09:31:13 +0100
committerGitHub <noreply@github.com>2023-01-04 09:31:13 +0100
commitde21dd1cd0f494813490849c91b7ab18b5c6fde2 (patch)
treeb885220a0bc15c33800d0fa9677e7525e3270075 /pkgs/tools/security/trufflehog
parentc18d193adc1fbcdb8bb1d221e5f1c51e79cdc4ce (diff)
trufflehog: add changelog to meta
Diffstat (limited to 'pkgs/tools/security/trufflehog')
-rw-r--r--pkgs/tools/security/trufflehog/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/security/trufflehog/default.nix b/pkgs/tools/security/trufflehog/default.nix
index 9e2b2e44f33a8..76ccda498b47f 100644
--- a/pkgs/tools/security/trufflehog/default.nix
+++ b/pkgs/tools/security/trufflehog/default.nix
@@ -10,11 +10,11 @@ buildGoModule rec {
   src = fetchFromGitHub {
     owner = "trufflesecurity";
     repo = "trufflehog";
-    rev = "v${version}";
-    sha256 = "sha256-rse5uyQ7EUBhs0IyC92B/Z7YCeNIXTlZEqrlcjFekgA=";
+    rev = "refs/tags/v${version}";
+    hash = "sha256-rse5uyQ7EUBhs0IyC92B/Z7YCeNIXTlZEqrlcjFekgA=";
   };
 
-  vendorSha256 = "sha256-KyyJ7hUWF29L8oB9GkJ918/BQoLMsz+tStT2T9Azunk=";
+  vendorHash = "sha256-KyyJ7hUWF29L8oB9GkJ918/BQoLMsz+tStT2T9Azunk=";
 
   # Test cases run git clone and require network access
   doCheck = false;
@@ -26,6 +26,7 @@ buildGoModule rec {
   meta = with lib; {
     description = "Find credentials all over the place";
     homepage = "https://github.com/trufflesecurity/trufflehog";
+    changelog = "https://github.com/trufflesecurity/trufflehog/releases/tag/v${version}";
     license = with licenses; [ agpl3 ];
     maintainers = with maintainers; [ ];
   };