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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
774 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-06-17 03:02:03 +00:00
buildGoModule rec {
pname = "tflint";
2022-08-12 17:45:29 +00:00
version = "0.39.3";
2019-06-17 03:02:03 +00:00
src = fetchFromGitHub {
owner = "terraform-linters";
2019-06-17 03:02:03 +00:00
repo = pname;
rev = "v${version}";
2022-08-12 17:45:29 +00:00
sha256 = "sha256-AjNWVo81oYvlrfKERJhIXsv/WPpusuqVd1nvvsAgbbE=";
2019-06-17 03:02:03 +00:00
};
vendorSha256 = "sha256-6sk1bFuSCrKt9uMrrwOpX/SBZrjFvtqVPFylbRNHpz4=";
2019-06-17 03:02:03 +00:00
doCheck = false;
2019-06-17 03:02:03 +00:00
subPackages = [ "." ];
ldflags = [ "-s" "-w" ];
meta = with lib; {
2019-06-17 03:02:03 +00: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/raw/v${version}/CHANGELOG.md";
2019-06-17 03:02:03 +00:00
license = licenses.mpl20;
maintainers = [ maintainers.marsam ];
};
}