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.

28 lines
746 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-06-17 03:02:03 +00:00
buildGoModule rec {
pname = "tflint";
2021-12-26 11:29:08 +00:00
version = "0.34.1";
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}";
2021-12-26 11:29:08 +00:00
sha256 = "sha256-ltxFduUr+poi4tEjViQXCbe+j3fUdvBG8CTaM7VdpK0=";
2019-06-17 03:02:03 +00:00
};
2022-01-31 23:11:54 +00:00
vendorSha256 = "sha256-xEmDOP2DbTZ8bpK4OCabIpOwORB8EOJZkHCxL5wBeEU=";
2019-06-17 03:02:03 +00:00
doCheck = false;
2019-06-17 03:02:03 +00:00
subPackages = [ "." ];
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 ];
};
}