2019-06-17 04:02:03 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tflint";
|
2019-09-28 19:00:00 +01:00
|
|
|
version = "0.12.0";
|
2019-06-17 04:02:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wata727";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-09-28 19:00:00 +01:00
|
|
|
sha256 = "1dma1nav6z9919lj4f7cqcf8h12l4gbwn24323y18l57zv988331";
|
2019-06-17 04:02:03 +01:00
|
|
|
};
|
|
|
|
|
2019-09-28 19:00:00 +01:00
|
|
|
modSha256 = "1xjxaszpxv9k9s27y1i54cnp0ip47bq4ad2ziq7n8nb76zxw03mx";
|
2019-06-17 04:02:03 +01:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Terraform linter focused on possible errors, best practices, and so on";
|
|
|
|
homepage = "https://github.com/wata727/tflint";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|