summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2021-07-06 08:51:05 -0500
committerGitHub <noreply@github.com>2021-07-06 08:51:05 -0500
commit2337680a13fc894b64aec2fcc2c86302ee70f43d (patch)
treee65f933b0457ac2676d33e7c407913becca7e62d
parent46db5c6e3025d0194b24c9098a01e31d67b3506a (diff)
parent19c2dee0b8ebc8430aa193d22b87393ab6d9b63e (diff)
downloadnixpkgs-2337680a13fc894b64aec2fcc2c86302ee70f43d.tar
nixpkgs-2337680a13fc894b64aec2fcc2c86302ee70f43d.tar.gz
nixpkgs-2337680a13fc894b64aec2fcc2c86302ee70f43d.tar.bz2
nixpkgs-2337680a13fc894b64aec2fcc2c86302ee70f43d.tar.lz
nixpkgs-2337680a13fc894b64aec2fcc2c86302ee70f43d.tar.xz
nixpkgs-2337680a13fc894b64aec2fcc2c86302ee70f43d.tar.zst
nixpkgs-2337680a13fc894b64aec2fcc2c86302ee70f43d.zip
Merge pull request #129406 from fabaff/bump-tfsec
tfsec: 0.40.7 -> 0.41.0
-rw-r--r--pkgs/development/tools/analysis/tfsec/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/tools/analysis/tfsec/default.nix b/pkgs/development/tools/analysis/tfsec/default.nix
index 4e11d92e968..da0e0554bf7 100644
--- a/pkgs/development/tools/analysis/tfsec/default.nix
+++ b/pkgs/development/tools/analysis/tfsec/default.nix
@@ -2,23 +2,27 @@
 
 buildGoPackage rec {
   pname = "tfsec";
-  version = "0.40.7";
+  version = "0.41.0";
 
   src = fetchFromGitHub {
     owner = "tfsec";
     repo = pname;
     rev = "v${version}";
-    sha256 = "1cdxpmlfh76k491ldzv2flxs2wikrryr63h0zw8f6yvhkpbqf4cc";
+    sha256 = "sha256-MK5cWRPGty7S4pkRZJRZF5qitoPM3im8JJW2J3yQqFo=";
   };
 
   goPackagePath = "github.com/tfsec/tfsec";
 
-  buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/version.Version=${version}" ];
+  ldflags = [
+    "-w"
+    "-s"
+    "-X ${goPackagePath}/version.Version=${version}"
+  ];
 
   meta = with lib; {
     homepage = "https://github.com/tfsec/tfsec";
     description = "Static analysis powered security scanner for your terraform code";
     license = licenses.mit;
-    maintainers = [ maintainers.marsam ];
+    maintainers = with maintainers; [ marsam ];
   };
 }