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