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

25 lines
612 B
Nix
Raw Normal View History

2019-06-16 20:02:03 -07:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tflint";
2019-06-29 07:45:55 -07:00
version = "0.9.0";
2019-06-16 20:02:03 -07:00
src = fetchFromGitHub {
owner = "wata727";
repo = pname;
rev = "v${version}";
2019-06-29 07:45:55 -07:00
sha256 = "1k050kcgvy21jk01mkgscfl7hlfgaa1621920w111fghqxibssan";
2019-06-16 20:02:03 -07:00
};
2019-06-29 07:45:55 -07:00
modSha256 = "17pm6v34gya8bgz8g5hh1cijjldk78j53x9yvsjpcjnqm7l0clcd";
2019-06-16 20:02:03 -07:00
subPackages = [ "." ];
meta = with lib; {
description = "Terraform linter focused on possible errors, best practices, and so on";
homepage = "https://github.com/wata727/tflint";
license = licenses.mpl20;
maintainers = [ maintainers.marsam ];
};
}