2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-06-17 04:02:03 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tflint";
|
2020-08-23 10:20:00 +01:00
|
|
|
version = "0.19.1";
|
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-08-23 10:20:00 +01:00
|
|
|
sha256 = "1nj36xxl8zg7wdc36lakzdyr9hk82qwkwrvrw19bqach697y57nf";
|
2019-06-17 04:02:03 +01:00
|
|
|
};
|
|
|
|
|
2020-08-17 10:42:00 +01:00
|
|
|
vendorSha256 = "0bzd58ry5k100mjgvl1mxz7aysm75s4vkilcykrqy1s5sc0h3ng5";
|
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";
|
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-22 00:18:18 +01:00
|
|
|
}
|