2019-06-17 04:02:03 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tflint";
|
2019-11-16 17:00:00 +00:00
|
|
|
version = "0.13.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}";
|
2019-11-16 17:00:00 +00:00
|
|
|
sha256 = "0ivvx1nbhzijyiv9q05b5953wxga5wdskamnhfvlwpniabic3gxi";
|
2019-06-17 04:02:03 +01:00
|
|
|
};
|
|
|
|
|
2019-11-16 17:00:00 +00:00
|
|
|
modSha256 = "0q1sc0bj4a29rzly4fk6m40b8i7syxa7ff9882jwi7gxjdiklch3";
|
2019-06-17 04:02:03 +01:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
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-06-17 04:02:03 +01:00
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|