2020-03-27 00:33:21 -07:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-06-16 20:02:03 -07:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tflint";
|
2021-05-04 21:20:00 -07:00
|
|
|
version = "0.28.1";
|
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}";
|
2021-05-04 21:20:00 -07:00
|
|
|
sha256 = "0bx6y1y6cfqz77m23w4ab1j2i7s83kv301razv9rkkyxpnpb16hi";
|
2019-06-16 20:02:03 -07:00
|
|
|
};
|
|
|
|
|
2021-05-04 21:20:00 -07:00
|
|
|
vendorSha256 = "0rfbjhi78qcaghn9xw658xcxl2x4ln4gnnyi9hsf3wz4cbybird7";
|
2019-06-16 20:02:03 -07:00
|
|
|
|
2020-08-03 17:26:27 -07:00
|
|
|
doCheck = false;
|
|
|
|
|
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";
|
2020-12-09 20:20:00 -08:00
|
|
|
changelog = "https://github.com/terraform-linters/tflint/blob/v${version}/CHANGELOG.md";
|
2019-06-16 20:02:03 -07:00
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
2020-05-21 16:18:18 -07:00
|
|
|
}
|