nixpkgs-suyu/pkgs/development/tools/tfplugindocs/default.nix
2022-06-07 09:45:29 +02:00

22 lines
625 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "tfplugindocs";
version = "0.9.0";
src = fetchFromGitHub {
owner = "hashicorp";
repo = "terraform-plugin-docs";
rev = "v${version}";
sha256 = "sha256-1grwbi/nG0d2NwEE/eOeo1+0uGpZ1BRJdubyLwhvKfU=";
};
vendorSha256 = "sha256-VhnPRBVlvR/Xh7wkX7qx0m5s+yBOCJQE1zcAe8//lNw=";
meta = with lib; {
description = "Generate and validate Terraform plugin/provider documentation";
homepage = "https://github.com/hashicorp/terraform-plugin-docs";
license = licenses.mpl20;
maintainers = with maintainers; [ lewo ];
};
}