2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-06-17 04:02:03 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tflint";
|
2020-05-16 10:20:00 +01:00
|
|
|
version = "0.16.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}";
|
2020-05-16 10:20:00 +01:00
|
|
|
sha256 = "1yqssc5rzxzrlzms3mn9djcvjcx6m7xblpwdl05pmym617v3xaxc";
|
2019-06-17 04:02:03 +01:00
|
|
|
};
|
|
|
|
|
2020-05-16 10:20:00 +01:00
|
|
|
vendorSha256 = "016k067sqqncgddam63p3jvp9g1ayjsc8v0w8hfzxc7jvn4jf9fb";
|
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 ];
|
|
|
|
};
|
2020-05-01 02:59:00 +01:00
|
|
|
}
|