terraform-plugin-docs: 0.20.1 -> 0.21.0 (#385936)

This commit is contained in:
Weijia Wang 2025-03-30 13:37:29 +02:00 committed by GitHub
commit e29b8377b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,16 +11,16 @@
buildGoModule rec { buildGoModule rec {
pname = "terraform-plugin-docs"; pname = "terraform-plugin-docs";
version = "0.20.1"; version = "0.21.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hashicorp"; owner = "hashicorp";
repo = "terraform-plugin-docs"; repo = "terraform-plugin-docs";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-i5J0dBXqfm5YvELU8q5jLTtfgo8r1u/x/VW55TPmJLQ="; hash = "sha256-tvo5ufRBtiecOCHfGO9Sxe+bHXqgnfGhBaQQ47CVllk=";
}; };
vendorHash = "sha256-UmPbtLHy2PAGxDPo1NziHYpNifuI8lsYDASHyjVzGJo="; vendorHash = "sha256-y69F/KF7cQvtZ4/ZNpw86l/xZgn4aTzmVBw1bs+AtZI=";
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
@ -35,8 +35,8 @@ buildGoModule rec {
ldflags = [ ldflags = [
"-s" "-s"
"-w" "-w"
"-X main.version=${version}" "-X github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs/build.version=${version}"
"-X main.commit=${src.rev}" "-X github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs/build.commit=${src.tag}"
]; ];
postInstall = '' postInstall = ''