2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-06-17 03:02:03 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tflint";
|
2021-12-26 11:29:08 +00:00
|
|
|
version = "0.34.1";
|
2019-06-17 03:02:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-11-16 17:00:00 +00:00
|
|
|
owner = "terraform-linters";
|
2019-06-17 03:02:03 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-26 11:29:08 +00:00
|
|
|
sha256 = "sha256-ltxFduUr+poi4tEjViQXCbe+j3fUdvBG8CTaM7VdpK0=";
|
2019-06-17 03:02:03 +00:00
|
|
|
};
|
|
|
|
|
2022-01-31 23:11:54 +00:00
|
|
|
vendorSha256 = "sha256-xEmDOP2DbTZ8bpK4OCabIpOwORB8EOJZkHCxL5wBeEU=";
|
2019-06-17 03:02:03 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-06-17 03:02:03 +00:00
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-06-17 03:02:03 +00: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";
|
2021-06-05 04:20:00 +00:00
|
|
|
changelog = "https://github.com/terraform-linters/tflint/raw/v${version}/CHANGELOG.md";
|
2019-06-17 03:02:03 +00:00
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
2020-05-21 23:18:18 +00:00
|
|
|
}
|