2021-03-03 16:38:09 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
2018-12-06 11:10:36 +00:00
|
|
|
pname = "terraform-docs";
|
2021-10-30 23:31:28 +01:00
|
|
|
version = "0.16.0";
|
2018-12-06 11:10:36 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-03-03 16:38:09 +00:00
|
|
|
owner = "terraform-docs";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-10-30 23:31:28 +01:00
|
|
|
sha256 = "sha256-zSSK2WfcbD1DvqsFUKdTydLfyApWzm1h+ihSnLUmq2E=";
|
2018-12-06 11:10:36 +00:00
|
|
|
};
|
|
|
|
|
2021-10-30 23:31:28 +01:00
|
|
|
vendorSha256 = "sha256-0Bkjx/gq2MAWjxoMSGtBcRzv40SSUVDZBh4PzEtKj5o=";
|
2021-03-03 16:38:09 +00:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2018-12-06 11:10:36 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A utility to generate documentation from Terraform modules in various output formats";
|
2021-03-03 16:38:09 +00:00
|
|
|
homepage = "https://github.com/terraform-docs/terraform-docs/";
|
2018-12-06 11:10:36 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
|
|
};
|
|
|
|
}
|