hugo: 0.92.2 -> 0.96.0
https://github.com/gohugoio/hugo/releases/tag/v0.96.0 As of 0.95.0 Hugo requires Go 1.18 to build. `gen autocomplete` is now deprecated in favor of `completion`: https://github.com/gohugoio/hugo/issues/8862
This commit is contained in:
parent
4406aef224
commit
8603836e47
2 changed files with 7 additions and 7 deletions
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "hugo";
|
||||
version = "0.92.2";
|
||||
version = "0.96.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gohugoio";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-kwqN/9H/ZI2eL09K/9bOMBWW9bow8LtKpbfxyfxIucA=";
|
||||
sha256 = "sha256-3O+ZdOloh5gILPQssztt7s/MwRgDOnpJItwLn7FXnPU=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-7dJUl0IxsLj0ds2jqtChNCQEBiK9PahG159IhyFxwdM=";
|
||||
vendorSha256 = "sha256-TgE/ToHBg2QBgtk0gPZTV/icIbQN14RpVAbL/8b+W0U=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -27,9 +27,9 @@ buildGoModule rec {
|
|||
$out/bin/hugo gen man
|
||||
installManPage man/*
|
||||
installShellCompletion --cmd hugo \
|
||||
--bash <($out/bin/hugo gen autocomplete --type=bash) \
|
||||
--fish <($out/bin/hugo gen autocomplete --type=fish) \
|
||||
--zsh <($out/bin/hugo gen autocomplete --type=zsh)
|
||||
--bash <($out/bin/hugo completion bash) \
|
||||
--fish <($out/bin/hugo completion fish) \
|
||||
--zsh <($out/bin/hugo completion zsh)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -26509,7 +26509,7 @@ with pkgs;
|
|||
|
||||
haunt = callPackage ../applications/misc/haunt { };
|
||||
|
||||
hugo = callPackage ../applications/misc/hugo { };
|
||||
hugo = callPackage ../applications/misc/hugo { buildGoModule = buildGo118Module; };
|
||||
|
||||
go-org = callPackage ../applications/misc/go-org { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue