lol

`tflint-plugins.tflint-ruleset-google`: init

+45
+6
maintainers/maintainer-list.nix
··· 8502 8502 githubId = 6321578; 8503 8503 name = "John Rinehart"; 8504 8504 }; 8505 + john-rodewald = { 8506 + email = "jnrodewald99@gmail.com"; 8507 + github = "john-rodewald"; 8508 + githubId = 51028009; 8509 + name = "John Rodewald"; 8510 + }; 8505 8511 john-shaffer = { 8506 8512 email = "jdsha@proton.me"; 8507 8513 github = "john-shaffer";
+1
pkgs/development/tools/analysis/tflint-plugins/default.nix
··· 1 1 { callPackage, ... }: { 2 2 tflint-ruleset-aws = callPackage ./tflint-ruleset-aws.nix { }; 3 + tflint-ruleset-google = callPackage ./tflint-ruleset-google.nix { }; 3 4 }
+38
pkgs/development/tools/analysis/tflint-plugins/tflint-ruleset-google.nix
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "tflint-ruleset-google"; 8 + version = "0.24.0"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "terraform-linters"; 12 + repo = pname; 13 + rev = "v${version}"; 14 + hash = "sha256-1eF/uzOYP/gi+ooHN8OfCR2nz+/z98theO0Lr/BBhWM="; 15 + }; 16 + 17 + vendorHash = "sha256-owpNcsxuP+sG27vv9V7ArMK1NLBNbnw11KpdpVyWAD0="; 18 + 19 + # upstream Makefile also does a go test $(go list ./... | grep -v integration) 20 + preCheck = '' 21 + rm integration/integration_test.go 22 + ''; 23 + 24 + subPackages = [ "." ]; 25 + 26 + postInstall = '' 27 + mkdir -p $out/github.com/terraform-linters/${pname}/${version} 28 + mv $out/bin/${pname} $out/github.com/terraform-linters/${pname}/${version}/ 29 + ''; 30 + 31 + meta = with lib; { 32 + homepage = "https://github.com/terraform-linters/tflint-ruleset-google"; 33 + description = "TFLint ruleset plugin for Terraform Google Provider"; 34 + platforms = platforms.unix; 35 + maintainers = with maintainers; [ john-rodewald ]; 36 + license = with licenses; [ mpl20 ]; 37 + }; 38 + }