23 lines
549 B
Nix
23 lines
549 B
Nix
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "tfsec";
|
|
version = "0.12.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "liamg";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1xrhsl60xf7230z4d2dyy86406a2306yfqchijrz0957xpkrik2r";
|
|
};
|
|
|
|
goPackagePath = "github.com/liamg/tfsec";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/liamg/tfsec";
|
|
description = "Static analysis powered security scanner for your terraform code";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.marsam ];
|
|
};
|
|
}
|