nixpkgs/pkgs/development/tools/analysis/tfsec/default.nix

23 lines
549 B
Nix
Raw Normal View History

2019-11-24 09:20:00 +00:00
{ 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 ];
};
}