7 pname = "tflint-ruleset-aws";
10 src = fetchFromGitHub {
11 owner = "terraform-linters";
14 hash = "sha256-mgYvzxIzh/HibPM+BQoJ7dKqEifMcuoqfOIZU4KcRC4=";
17 vendorHash = "sha256-JaOVNWF4JMXwGo+JVyknGZrd/M6F9c2PTgGadCqoRsk=";
19 # upstream Makefile also does a go test $(go list ./... | grep -v integration)
21 rm integration/integration_test.go
25 mkdir -p $out/github.com/terraform-linters/${pname}/${version}
26 mv $out/bin/${pname} $out/github.com/terraform-linters/${pname}/${version}/
27 # remove other binaries from bin
32 homepage = "https://github.com/terraform-linters/tflint-ruleset-aws";
33 changelog = "https://github.com/terraform-linters/tflint-ruleset-aws/blob/v${version}/CHANGELOG.md";
34 description = "TFLint ruleset plugin for Terraform AWS Provider";
35 maintainers = with maintainers; [ flokli ];
36 license = with licenses; [ mpl20 ];