-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathterramaid.nix
33 lines (28 loc) · 854 Bytes
/
terramaid.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# [terramaid](https://github.com/RoseSecurity/Terramaid) is a utility for generating Mermaid diagrams from Terraform configurations
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "terramaid";
version = "1.8.0";
src = fetchFromGitHub {
owner = "RoseSecurity";
repo = "Terramaid";
rev = "v${version}";
hash = "sha256-EyLpNVkHmwjT/I3GDwHDQrceAtTh49gmIciR4taahV8=";
};
vendorHash = "sha256-I8bLPKqyGrsUpDFtgt3DPRWit8L/NLIdCWCo3t2tiHo=";
ldflags = [
"-s"
"-w"
"-X=main.version=${version}"
];
meta = with lib; {
description = "A utility for generating Mermaid diagrams from Terraform configurations";
homepage = "https://github.com/RoseSecurity/Terramaid";
license = licenses.asl20;
maintainers = with maintainers; [ jpetrucciani ];
mainProgram = "terramaid";
};
}