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

28 lines
749 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-06-16 20:02:03 -07:00
buildGoModule rec {
pname = "tflint";
version = "0.24.1";
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 = "00v6d1ffj1f4djbdf41bw4ymy2fhph1b5kfi50fp9c3c7319sqwr";
2019-06-16 20:02:03 -07:00
};
vendorSha256 = "1xy1vg34nv6v77sx13d3663v7xfm0f2kimdsjqzwpkzz8a6q6g2m";
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/blob/v${version}/CHANGELOG.md";
2019-06-16 20:02:03 -07:00
license = licenses.mpl20;
maintainers = [ maintainers.marsam ];
};
}