2019-06-16 20:02:03 -07:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tflint";
|
2019-12-18 11:36:00 -08:00
|
|
|
version = "0.13.3";
|
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}";
|
2019-12-18 11:36:00 -08:00
|
|
|
sha256 = "13azczm5lg9v5mvf1jx165qy2nj2941qlr9vvxa7q3gqmhxcg271";
|
2019-06-16 20:02:03 -07:00
|
|
|
};
|
|
|
|
|
2019-12-18 11:36:00 -08:00
|
|
|
modSha256 = "0xckzyfc144bc212amw1n63jkmdljbmj0rq0midr37h6bg5a10q3";
|
2019-06-16 20:02:03 -07:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|