nixpkgs/pkgs/development/tools/analysis/tflint/default.nix

28 lines
744 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-06-16 20:02:03 -07:00
buildGoModule rec {
pname = "tflint";
version = "0.21.0";
2019-06-16 20:02:03 -07:00
src = fetchFromGitHub {
owner = "terraform-linters";
2019-06-16 20:02:03 -07:00
repo = pname;
rev = "v${version}";
sha256 = "0gdv2l10v19mjskv0f0aphxbzvdx6py0w6n9yg4wn6g7j7c61szd";
2019-06-16 20:02:03 -07:00
};
vendorSha256 = "0s5ingyl0m939k1qxc1qiyhiabi3ml0qz33s3rbd4hmcg907yjga";
2019-06-16 20:02:03 -07:00
doCheck = false;
2019-06-16 20:02:03 -07:00
subPackages = [ "." ];
meta = with lib; {
2019-06-16 20:02:03 -07:00
description = "Terraform linter focused on possible errors, best practices, and so on";
homepage = "https://github.com/terraform-linters/tflint";
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 ];
};
}