nixpkgs-suyu/pkgs/development/tools/analysis/tflint/default.nix

26 lines
721 B
Nix
Raw Normal View History

2019-06-17 05:02:03 +02:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tflint";
version = "0.13.2";
2019-06-17 05:02:03 +02:00
src = fetchFromGitHub {
owner = "terraform-linters";
2019-06-17 05:02:03 +02:00
repo = pname;
rev = "v${version}";
sha256 = "16iv2z4krx8ixifpq0r784xspknmj0bbvhx10mnq97v49j5c03qi";
2019-06-17 05:02:03 +02:00
};
modSha256 = "1rk22w4b5iq6fp3jwpcpnb6y2frbrggxkhdm3ipp8c5savq2wbqh";
2019-06-17 05:02:03 +02:00
subPackages = [ "." ];
meta = with lib; {
description = "Terraform linter focused on possible errors, best practices, and so on";
homepage = "https://github.com/terraform-linters/tflint";
changelog = "https://github.com/terraform-linters/tflint/releases/tag/v${version}";
2019-06-17 05:02:03 +02:00
license = licenses.mpl20;
maintainers = [ maintainers.marsam ];
};
}