Fabian Affolter 2023-09-11 20:29:44 +02:00
parent f9c1b42914
commit 9ea2f927ed

View File

@ -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 ];
};