Merge pull request #129406 from fabaff/bump-tfsec

tfsec: 0.40.7 -> 0.41.0
This commit is contained in:
Mario Rodas 2021-07-06 08:51:05 -05:00 committed by GitHub
commit 2337680a13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,23 +2,27 @@
buildGoPackage rec { buildGoPackage rec {
pname = "tfsec"; pname = "tfsec";
version = "0.40.7"; version = "0.41.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tfsec"; owner = "tfsec";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1cdxpmlfh76k491ldzv2flxs2wikrryr63h0zw8f6yvhkpbqf4cc"; sha256 = "sha256-MK5cWRPGty7S4pkRZJRZF5qitoPM3im8JJW2J3yQqFo=";
}; };
goPackagePath = "github.com/tfsec/tfsec"; 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; { meta = with lib; {
homepage = "https://github.com/tfsec/tfsec"; homepage = "https://github.com/tfsec/tfsec";
description = "Static analysis powered security scanner for your terraform code"; description = "Static analysis powered security scanner for your terraform code";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.marsam ]; maintainers = with maintainers; [ marsam ];
}; };
} }