3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/analysis/tflint/default.nix

26 lines
721 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-06-17 04:02:03 +01:00
buildGoModule rec {
pname = "tflint";
2020-04-25 18:52:00 +01:00
version = "0.15.5";
2019-06-17 04:02:03 +01:00
src = fetchFromGitHub {
owner = "terraform-linters";
2019-06-17 04:02:03 +01:00
repo = pname;
rev = "v${version}";
2020-04-25 18:52:00 +01:00
sha256 = "0mdxs019vzpfxaqkw4nb79p3rydril0ihbn55n4yyh0fznv6zzxi";
2019-06-17 04:02:03 +01:00
};
2020-04-25 18:52:00 +01:00
modSha256 = "0ksblhra7ln4ryggr2x8fzl8a7ljz5zdjgdxz82c75wd7wdbw8f5";
2019-06-17 04:02:03 +01:00
subPackages = [ "." ];
meta = with lib; {
2019-06-17 04:02:03 +01: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-17 04:02:03 +01:00
license = licenses.mpl20;
maintainers = [ maintainers.marsam ];
};
}