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

26 lines
721 B
Nix
Raw Normal View History

2019-06-17 04:02:03 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tflint";
version = "0.14.0";
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}";
sha256 = "0awb8mjdqdwg4g6lpl6g4vavkhy1hby6gsv6mqsycm1a6z1n7q4k";
2019-06-17 04:02:03 +01:00
};
modSha256 = "0ihfrlpi45q4acwfqxkk5ha8x76qk0z4ly3ipdck3a525mfdmk23";
2019-06-17 04:02:03 +01:00
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/releases/tag/v${version}";
2019-06-17 04:02:03 +01:00
license = licenses.mpl20;
maintainers = [ maintainers.marsam ];
};
}