about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-09-11 20:29:44 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2023-09-11 20:29:44 +0200
commit9ea2f927edbe47fbab875814d87410ceac555fb5 (patch)
tree892df148881165abb7f160d0b11f0be4e0046a5d
parentf9c1b42914eae1fcd5df6da12e23df59d4169211 (diff)
tfsec: 1.28.2 -> 1.28.4
Diff: https://github.com/aquasecurity/tfsec/compare/refs/tags/v1.28.2...v1.28.4

Changelog: https://github.com/aquasecurity/tfsec/releases/tag/v1.28.4
-rw-r--r--pkgs/development/tools/analysis/tfsec/default.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/tools/analysis/tfsec/default.nix b/pkgs/development/tools/analysis/tfsec/default.nix
index dd80de3824754..bd89d788e8b21 100644
--- a/pkgs/development/tools/analysis/tfsec/default.nix
+++ b/pkgs/development/tools/analysis/tfsec/default.nix
@@ -5,19 +5,19 @@
 
 buildGoModule rec {
   pname = "tfsec";
-  version = "1.28.2";
+  version = "1.28.4";
 
   src = fetchFromGitHub {
     owner = "aquasecurity";
-    repo = pname;
-    rev = "v${version}";
-    hash = "sha256-N1BL0DHppHyfxHQT98y3rtvyCArq/bcbDIiB0NxCsJA=";
+    repo = "tfsec";
+    rev = "refs/tags/v${version}";
+    hash = "sha256-WMmRCjKBtPT45it6iUQh5D7TBc8glt+dppksBvDhTN4=";
   };
 
   ldflags = [
     "-s"
     "-w"
-    "-X github.com/aquasecurity/tfsec/version.Version=v${version}"
+    "-X=github.com/aquasecurity/tfsec/version.Version=v${version}"
     ## not sure if this is needed (https://github.com/aquasecurity/tfsec/blob/master/.goreleaser.yml#L6)
     # "-extldflags '-fno-PIC -static'"
   ];
@@ -33,6 +33,7 @@ buildGoModule rec {
   meta = with lib; {
     description = "Static analysis powered security scanner for terraform code";
     homepage = "https://github.com/aquasecurity/tfsec";
+    changelog = "https://github.com/aquasecurity/tfsec/releases/tag/v${version}";
     license = licenses.mit;
     maintainers = with maintainers; [ fab marsam peterromfeldhk ];
   };