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