Skip to content

Commit 5c1bd81

Browse files
authored
hugo: 0.145.0 -> 0.146.1 (NixOS#397795)
2 parents 1cb8803 + d4dac7d commit 5c1bd81

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pkgs/by-name/hu/hugo/package.nix

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@
99
nix-update-script,
1010
}:
1111

12-
buildGoModule rec {
12+
buildGoModule (finalAttrs: {
1313
pname = "hugo";
14-
version = "0.145.0";
14+
version = "0.146.1";
1515

1616
src = fetchFromGitHub {
1717
owner = "gohugoio";
1818
repo = "hugo";
19-
tag = "v${version}";
20-
hash = "sha256-5SV6VzNWGnFQBD0fBugS5kKXECvV1ZE7sk7SwJCMbqY=";
19+
tag = "v${finalAttrs.version}";
20+
hash = "sha256-WZJdojnjQCzmpZjM8Cjh9iAP+Qtcq+XAY4sRGdua0t4=";
2121
};
2222

23-
vendorHash = "sha256-aynhBko6ecYyyMG9XO5315kLerWDFZ6V8LQ/WIkvC70=";
23+
vendorHash = "sha256-LSNy65sIuq/zK3swdUvxGwbo/3ulq+JP5ur7M7aTdAs=";
2424

2525
checkFlags =
2626
let
@@ -69,13 +69,13 @@ buildGoModule rec {
6969
versionCheckHook
7070
];
7171
doInstallCheck = true;
72-
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
72+
versionCheckProgram = "${placeholder "out"}/bin/hugo";
7373
versionCheckProgramArg = "version";
7474

7575
passthru.updateScript = nix-update-script { };
7676

7777
meta = {
78-
changelog = "https://github.com/gohugoio/hugo/releases/tag/v${version}";
78+
changelog = "https://github.com/gohugoio/hugo/releases/tag/v${finalAttrs.version}";
7979
description = "Fast and modern static website engine";
8080
homepage = "https://gohugo.io";
8181
license = lib.licenses.asl20;
@@ -88,4 +88,4 @@ buildGoModule rec {
8888
federicoschonborn
8989
];
9090
};
91-
}
91+
})

0 commit comments

Comments
 (0)