3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/cluster/terraform-docs/default.nix

24 lines
663 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
2018-12-06 11:10:36 +00:00
pname = "terraform-docs";
2021-06-17 05:04:42 +01:00
version = "0.14.1";
2018-12-06 11:10:36 +00:00
src = fetchFromGitHub {
owner = "terraform-docs";
repo = pname;
rev = "v${version}";
2021-06-17 05:04:42 +01:00
sha256 = "sha256-Jm0ySxn4GFW4iAH3tOIvclcDGJMKzH7m7fhWnAf4+gs=";
2018-12-06 11:10:36 +00:00
};
2021-06-17 05:04:42 +01:00
vendorSha256 = "sha256-IzmAlthE6SVvGHj72wrY1/KLehOv8Ck9VaTv5jMpt48=";
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";
homepage = "https://github.com/terraform-docs/terraform-docs/";
2018-12-06 11:10:36 +00:00
license = licenses.mit;
maintainers = with maintainers; [ zimbatm ];
};
}