forked from mirrors/nixpkgs
28 lines
748 B
Nix
28 lines
748 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "tflint";
|
|
version = "0.32.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "terraform-linters";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1yf725lfwhvkc1mvzqpl9wchwq2z4pz3z7bp0qlbgdym8z66x8wm";
|
|
};
|
|
|
|
vendorSha256 = "0jg8a6vx2n71awr2zdkiisx76qcnj3qj6vj1w9m1c9kczz3mc7m3";
|
|
|
|
doCheck = false;
|
|
|
|
subPackages = [ "." ];
|
|
|
|
meta = with lib; {
|
|
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/raw/v${version}/CHANGELOG.md";
|
|
license = licenses.mpl20;
|
|
maintainers = [ maintainers.marsam ];
|
|
};
|
|
}
|