2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-06-17 04:02:03 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tflint";
|
2020-04-04 14:25:00 +01:00
|
|
|
version = "0.15.4";
|
2019-06-17 04:02:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-11-16 17:00:00 +00:00
|
|
|
owner = "terraform-linters";
|
2019-06-17 04:02:03 +01:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-04-04 14:25:00 +01:00
|
|
|
sha256 = "1z98zy04dj4hj94k9c9r1sfw167s3ywpxnjbylj7nsyxdlvwj37j";
|
2019-06-17 04:02:03 +01:00
|
|
|
};
|
|
|
|
|
2020-04-04 14:25:00 +01:00
|
|
|
modSha256 = "1j6vflvg2k544r0kkdiw64n6v467c0kr7l2m39h8yjbyjbmwl5xz";
|
2019-06-17 04:02:03 +01:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-06-17 04:02:03 +01:00
|
|
|
description = "Terraform linter focused on possible errors, best practices, and so on";
|
2019-11-16 17:00:00 +00:00
|
|
|
homepage = "https://github.com/terraform-linters/tflint";
|
2019-12-07 21:20:00 +00:00
|
|
|
changelog = "https://github.com/terraform-linters/tflint/releases/tag/v${version}";
|
2019-06-17 04:02:03 +01:00
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|