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.20.3";
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 = "1zy6v1srm5v6bg2rqb3hb4cz8g7zwhraf91y810y9csh6r4fv29b";
2019-06-16 20:02:03 -07:00
};
vendorSha256 = "0s367ikq6y1izjim72lnqc98vypl072nimcwnw9y9d7nld5y77c8";
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 ];
};
}