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.15.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 = "0j1bx2180z6znfrg8k4sjwvm3cbvnklqjxdssbr2yd47h8kfwk3g";
2019-06-17 04:02:03 +01:00
};
modSha256 = "1qa7qfxpc43n9xyyfcd24d17g4fdcffkd57ny078ja219x13kay3";
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 ];
};
}