mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
terraform-docs: init at 0.5.0 (#51579)
This commit is contained in:
parent
54e0718cfc
commit
e4d06cbab6
@ -0,0 +1,26 @@
|
|||||||
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||||
|
buildGoPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "terraform-docs";
|
||||||
|
version = "0.5.0";
|
||||||
|
|
||||||
|
goPackagePath = "github.com/segmentio/${pname}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "segmentio";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "12w2yr669hk5kxdb9rrzsn8hwvx8rzrc1rmn8hs9l8z1bkfhr4gg";
|
||||||
|
};
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
buildFlagsArray+=("-ldflags" "-X main.version=${version}")
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A utility to generate documentation from Terraform modules in various output formats";
|
||||||
|
homepage = "https://github.com/segmentio/terraform-docs/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ zimbatm ];
|
||||||
|
};
|
||||||
|
}
|
@ -22673,6 +22673,8 @@ in
|
|||||||
callPackage ../applications/networking/cluster/terraform-providers {}
|
callPackage ../applications/networking/cluster/terraform-providers {}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
terraform-docs = callPackage ../applications/networking/cluster/terraform-docs {};
|
||||||
|
|
||||||
terraform-inventory = callPackage ../applications/networking/cluster/terraform-inventory {};
|
terraform-inventory = callPackage ../applications/networking/cluster/terraform-inventory {};
|
||||||
|
|
||||||
terraform-landscape = callPackage ../applications/networking/cluster/terraform-landscape {};
|
terraform-landscape = callPackage ../applications/networking/cluster/terraform-landscape {};
|
||||||
|
Loading…
Reference in New Issue
Block a user