tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
`tflint-plugins.tflint-ruleset-google`: init
John Rodewald
2 years ago
41e9f51a
0188c875
+45
3 changed files
expand all
collapse all
unified
split
maintainers
maintainer-list.nix
pkgs
development
tools
analysis
tflint-plugins
default.nix
tflint-ruleset-google.nix
+6
maintainers/maintainer-list.nix
reviewed
···
8502
8502
githubId = 6321578;
8503
8503
name = "John Rinehart";
8504
8504
};
8505
8505
+
john-rodewald = {
8506
8506
+
email = "jnrodewald99@gmail.com";
8507
8507
+
github = "john-rodewald";
8508
8508
+
githubId = 51028009;
8509
8509
+
name = "John Rodewald";
8510
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
reviewed
···
1
1
{ callPackage, ... }: {
2
2
tflint-ruleset-aws = callPackage ./tflint-ruleset-aws.nix { };
3
3
+
tflint-ruleset-google = callPackage ./tflint-ruleset-google.nix { };
3
4
}
+38
pkgs/development/tools/analysis/tflint-plugins/tflint-ruleset-google.nix
reviewed
···
1
1
+
{ lib
2
2
+
, buildGoModule
3
3
+
, fetchFromGitHub
4
4
+
}:
5
5
+
6
6
+
buildGoModule rec {
7
7
+
pname = "tflint-ruleset-google";
8
8
+
version = "0.24.0";
9
9
+
10
10
+
src = fetchFromGitHub {
11
11
+
owner = "terraform-linters";
12
12
+
repo = pname;
13
13
+
rev = "v${version}";
14
14
+
hash = "sha256-1eF/uzOYP/gi+ooHN8OfCR2nz+/z98theO0Lr/BBhWM=";
15
15
+
};
16
16
+
17
17
+
vendorHash = "sha256-owpNcsxuP+sG27vv9V7ArMK1NLBNbnw11KpdpVyWAD0=";
18
18
+
19
19
+
# upstream Makefile also does a go test $(go list ./... | grep -v integration)
20
20
+
preCheck = ''
21
21
+
rm integration/integration_test.go
22
22
+
'';
23
23
+
24
24
+
subPackages = [ "." ];
25
25
+
26
26
+
postInstall = ''
27
27
+
mkdir -p $out/github.com/terraform-linters/${pname}/${version}
28
28
+
mv $out/bin/${pname} $out/github.com/terraform-linters/${pname}/${version}/
29
29
+
'';
30
30
+
31
31
+
meta = with lib; {
32
32
+
homepage = "https://github.com/terraform-linters/tflint-ruleset-google";
33
33
+
description = "TFLint ruleset plugin for Terraform Google Provider";
34
34
+
platforms = platforms.unix;
35
35
+
maintainers = with maintainers; [ john-rodewald ];
36
36
+
license = with licenses; [ mpl20 ];
37
37
+
};
38
38
+
}