tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
tfproviderdocs: init at 0.12.1
Fede Barcelona
1 year ago
513a542b
3411a4ae
+46
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
tf
tfproviderdocs
package.nix
+46
pkgs/by-name/tf/tfproviderdocs/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
buildGoModule,
4
4
+
fetchFromGitHub,
5
5
+
versionCheckHook,
6
6
+
}:
7
7
+
buildGoModule rec {
8
8
+
pname = "tfproviderdocs";
9
9
+
version = "0.12.1";
10
10
+
11
11
+
src = fetchFromGitHub {
12
12
+
owner = "bflad";
13
13
+
repo = "tfproviderdocs";
14
14
+
tag = "v${version}";
15
15
+
hash = "sha256-KCkohIGkh6sg/e0qBi90hMqh/XQQNCBF6Di6V2gxqak=";
16
16
+
};
17
17
+
18
18
+
vendorHash = "sha256-fSb1C2W29zF6ygiIg6iq19A4B6ensZLqyPD5MhQ5ec8=";
19
19
+
20
20
+
ldflags = [
21
21
+
"-s"
22
22
+
"-w"
23
23
+
"-X github.com/bflad/tfproviderdocs/version.Version=${version}"
24
24
+
"-X github.com/bflad/tfproviderdocs/version.VersionPrerelease="
25
25
+
];
26
26
+
27
27
+
nativeInstallCheckInputs = [
28
28
+
versionCheckHook
29
29
+
];
30
30
+
31
31
+
doInstallCheck = true;
32
32
+
versionCheckProgramArg = "version";
33
33
+
34
34
+
meta = with lib; {
35
35
+
description = "Terraform Provider Documentation Tool";
36
36
+
license = licenses.mpl20;
37
37
+
longDescription = ''
38
38
+
tfproviderdocs is an open-source tool for validating the documentation of Terraform providers.
39
39
+
It automates the checking of documentation based on the provider's code specifications and configurations.
40
40
+
This helps developers maintain consistent and up-to-date documentation.
41
41
+
'';
42
42
+
homepage = "https://github.com/bflad/tfproviderdocs";
43
43
+
maintainers = with maintainers; [ tembleking ];
44
44
+
mainProgram = "tfproviderdocs";
45
45
+
};
46
46
+
}