Skip to content

Commit e29b837

Browse files
authored
terraform-plugin-docs: 0.20.1 -> 0.21.0 (NixOS#385936)
2 parents 98dfd23 + e627c3d commit e29b837

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkgs/by-name/te/terraform-plugin-docs/package.nix

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111

1212
buildGoModule rec {
1313
pname = "terraform-plugin-docs";
14-
version = "0.20.1";
14+
version = "0.21.0";
1515

1616
src = fetchFromGitHub {
1717
owner = "hashicorp";
1818
repo = "terraform-plugin-docs";
1919
tag = "v${version}";
20-
hash = "sha256-i5J0dBXqfm5YvELU8q5jLTtfgo8r1u/x/VW55TPmJLQ=";
20+
hash = "sha256-tvo5ufRBtiecOCHfGO9Sxe+bHXqgnfGhBaQQ47CVllk=";
2121
};
2222

23-
vendorHash = "sha256-UmPbtLHy2PAGxDPo1NziHYpNifuI8lsYDASHyjVzGJo=";
23+
vendorHash = "sha256-y69F/KF7cQvtZ4/ZNpw86l/xZgn4aTzmVBw1bs+AtZI=";
2424

2525
nativeBuildInputs = [ makeWrapper ];
2626

@@ -35,8 +35,8 @@ buildGoModule rec {
3535
ldflags = [
3636
"-s"
3737
"-w"
38-
"-X main.version=${version}"
39-
"-X main.commit=${src.rev}"
38+
"-X github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs/build.version=${version}"
39+
"-X github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs/build.commit=${src.tag}"
4040
];
4141

4242
postInstall = ''

0 commit comments

Comments
 (0)