2019-06-17 05:02:03 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tflint";
|
2019-12-07 22:20:00 +01:00
|
|
|
version = "0.13.2";
|
2019-06-17 05:02:03 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-11-16 18:00:00 +01:00
|
|
|
owner = "terraform-linters";
|
2019-06-17 05:02:03 +02:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-12-07 22:20:00 +01:00
|
|
|
sha256 = "16iv2z4krx8ixifpq0r784xspknmj0bbvhx10mnq97v49j5c03qi";
|
2019-06-17 05:02:03 +02:00
|
|
|
};
|
|
|
|
|
2019-12-07 22:20:00 +01: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";
|
2019-11-16 18:00:00 +01:00
|
|
|
homepage = "https://github.com/terraform-linters/tflint";
|
2019-12-07 22:20:00 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|