mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
24 lines
663 B
Nix
24 lines
663 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
buildGoModule rec {
|
|
pname = "terraform-docs";
|
|
version = "0.16.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "terraform-docs";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-zSSK2WfcbD1DvqsFUKdTydLfyApWzm1h+ihSnLUmq2E=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-0Bkjx/gq2MAWjxoMSGtBcRzv40SSUVDZBh4PzEtKj5o=";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
meta = with lib; {
|
|
description = "A utility to generate documentation from Terraform modules in various output formats";
|
|
homepage = "https://github.com/terraform-docs/terraform-docs/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
};
|
|
}
|