2020-03-27 00:33:21 -07:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-06-16 20:02:03 -07:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tflint";
|
2020-07-19 07:45:00 -07:00
|
|
|
version = "0.18.0";
|
2019-06-16 20:02:03 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-11-16 09:00:00 -08:00
|
|
|
owner = "terraform-linters";
|
2019-06-16 20:02:03 -07:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-07-19 07:45:00 -07:00
|
|
|
sha256 = "0644hzb7cpcqksl7j6v11dcq26la7g5l1svkmgm9c674gbv7argv";
|
2019-06-16 20:02:03 -07:00
|
|
|
};
|
|
|
|
|
2020-07-19 07:45:00 -07:00
|
|
|
vendorSha256 = "1khb8rdy5agj904nig6dfhagckvfcx79f028wcvwr625la3pcjfc";
|
2019-06-16 20:02:03 -07:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2020-03-27 00:33:21 -07:00
|
|
|
meta = with lib; {
|
2019-06-16 20:02:03 -07:00
|
|
|
description = "Terraform linter focused on possible errors, best practices, and so on";
|
2019-11-16 09:00:00 -08:00
|
|
|
homepage = "https://github.com/terraform-linters/tflint";
|
2019-12-07 13:20:00 -08:00
|
|
|
changelog = "https://github.com/terraform-linters/tflint/releases/tag/v${version}";
|
2019-06-16 20:02:03 -07:00
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
2020-05-21 16:18:18 -07:00
|
|
|
}
|