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

28 lines
744 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-06-17 04:02:03 +01:00
buildGoModule rec {
pname = "tflint";
version = "0.19.1";
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 = "1nj36xxl8zg7wdc36lakzdyr9hk82qwkwrvrw19bqach697y57nf";
2019-06-17 04:02:03 +01:00
};
2020-08-17 10:42:00 +01:00
vendorSha256 = "0bzd58ry5k100mjgvl1mxz7aysm75s4vkilcykrqy1s5sc0h3ng5";
2019-06-17 04:02:03 +01:00
doCheck = false;
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 ];
};
}