hugo: 0.135.0 -> 0.136.4 (#350752)

authored by

Aleksana and committed by
GitHub
bff8dc56 f1a5f60a

+37 -21
+37 -21
pkgs/by-name/hu/hugo/package.nix
··· 1 - { stdenv 2 - , lib 3 - , buildGoModule 4 - , fetchFromGitHub 5 - , installShellFiles 6 - , buildPackages 7 - , testers 8 - , hugo 1 + { 2 + stdenv, 3 + lib, 4 + buildGoModule, 5 + fetchFromGitHub, 6 + installShellFiles, 7 + buildPackages, 8 + testers, 9 + nix-update-script, 10 + hugo, 9 11 }: 10 12 11 13 buildGoModule rec { 12 14 pname = "hugo"; 13 - version = "0.135.0"; 15 + version = "0.136.4"; 14 16 15 17 src = fetchFromGitHub { 16 18 owner = "gohugoio"; 17 19 repo = "hugo"; 18 20 rev = "refs/tags/v${version}"; 19 - hash = "sha256-WCWaEVD2HON6feOev9HBfpqBWYIFmfevu6LH0OMtv2Q="; 21 + hash = "sha256-wCv0lZqvJNOwL/naFuGb6k0Xyk58NpgH1mkhoNnkSno="; 20 22 }; 21 23 22 - vendorHash = "sha256-XIFgmT0VyhRrUNfwy85Ac7YIO9fij0KqVmqb/s3IDVg="; 24 + vendorHash = "sha256-KqDsa7MlSONyn7AYOepQ95q1CEM83AhWk23iYSQ4twU="; 23 25 24 26 doCheck = false; 25 27 ··· 31 33 32 34 nativeBuildInputs = [ installShellFiles ]; 33 35 34 - ldflags = [ "-s" "-w" "-X github.com/gohugoio/hugo/common/hugo.vendorInfo=nixpkgs" ]; 36 + ldflags = [ 37 + "-s" 38 + "-w" 39 + "-X github.com/gohugoio/hugo/common/hugo.vendorInfo=nixpkgs" 40 + ]; 35 41 36 - postInstall = let emulator = stdenv.hostPlatform.emulator buildPackages; in '' 37 - ${emulator} $out/bin/hugo gen man 38 - installManPage man/* 39 - installShellCompletion --cmd hugo \ 40 - --bash <(${emulator} $out/bin/hugo completion bash) \ 41 - --fish <(${emulator} $out/bin/hugo completion fish) \ 42 - --zsh <(${emulator} $out/bin/hugo completion zsh) 43 - ''; 42 + postInstall = 43 + let 44 + emulator = stdenv.hostPlatform.emulator buildPackages; 45 + in 46 + '' 47 + ${emulator} $out/bin/hugo gen man 48 + installManPage man/* 49 + installShellCompletion --cmd hugo \ 50 + --bash <(${emulator} $out/bin/hugo completion bash) \ 51 + --fish <(${emulator} $out/bin/hugo completion fish) \ 52 + --zsh <(${emulator} $out/bin/hugo completion zsh) 53 + ''; 44 54 45 55 passthru.tests.version = testers.testVersion { 46 56 package = hugo; ··· 48 58 version = "v${version}"; 49 59 }; 50 60 61 + passthru.updateScript = nix-update-script { }; 62 + 51 63 meta = { 52 64 changelog = "https://github.com/gohugoio/hugo/releases/tag/v${version}"; 53 65 description = "Fast and modern static website engine"; 54 66 homepage = "https://gohugo.io"; 55 67 license = lib.licenses.asl20; 56 68 mainProgram = "hugo"; 57 - maintainers = with lib.maintainers; [ schneefux Br1ght0ne Frostman ]; 69 + maintainers = with lib.maintainers; [ 70 + schneefux 71 + Br1ght0ne 72 + Frostman 73 + ]; 58 74 }; 59 75 }