Loading pkgs/by-name/hu/hugo/package.nix +24 −14 Original line number Diff line number Diff line Loading @@ -5,28 +5,36 @@ fetchFromGitHub, installShellFiles, buildPackages, testers, versionCheckHook, nix-update-script, hugo, }: buildGoModule rec { pname = "hugo"; version = "0.139.3"; version = "0.140.1"; src = fetchFromGitHub { owner = "gohugoio"; repo = "hugo"; rev = "refs/tags/v${version}"; hash = "sha256-bUqLVM1jQ6LVsnDIP2NanmmEFe3mDUt446kH9I0aZQI="; tag = "v${version}"; hash = "sha256-9H7hXBz/rKJZr/XvqFRmOQylf6sfJtkwik3jh/k+Vec="; }; vendorHash = "sha256-LwXrCYGlWe6dOdPTh3YKhJDUID6e+OUOfDYtYxYnx/Y="; vendorHash = "sha256-swcj1JxYoRqKscu/IC0uiAATp4AXN0aANWkSq/mJsyc="; checkFlags = [ checkFlags = let skippedTestPrefixes = [ # Workaround for "failed to load modules" "-skip=TestCommands/mod" "TestCommands/mod" # Server tests are flaky, at least in x86_64-darwin. See #368072 # We can try testing again after updating the `httpget` helper # ref: https://github.com/gohugoio/hugo/blob/v0.140.1/main_test.go#L220-L233 "TestCommands/server" ]; in [ "-skip=^${builtins.concatStringsSep "|^" skippedTestPrefixes}" ]; proxyVendor = true; Loading Loading @@ -58,11 +66,12 @@ buildGoModule rec { --zsh <(${emulator} $out/bin/hugo completion zsh) ''; passthru.tests.version = testers.testVersion { package = hugo; command = "hugo version"; version = "v${version}"; }; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}"; versionCheckProgramArg = [ "version" ]; passthru.updateScript = nix-update-script { }; Loading @@ -76,6 +85,7 @@ buildGoModule rec { schneefux Br1ght0ne Frostman kachick ]; }; } Loading
pkgs/by-name/hu/hugo/package.nix +24 −14 Original line number Diff line number Diff line Loading @@ -5,28 +5,36 @@ fetchFromGitHub, installShellFiles, buildPackages, testers, versionCheckHook, nix-update-script, hugo, }: buildGoModule rec { pname = "hugo"; version = "0.139.3"; version = "0.140.1"; src = fetchFromGitHub { owner = "gohugoio"; repo = "hugo"; rev = "refs/tags/v${version}"; hash = "sha256-bUqLVM1jQ6LVsnDIP2NanmmEFe3mDUt446kH9I0aZQI="; tag = "v${version}"; hash = "sha256-9H7hXBz/rKJZr/XvqFRmOQylf6sfJtkwik3jh/k+Vec="; }; vendorHash = "sha256-LwXrCYGlWe6dOdPTh3YKhJDUID6e+OUOfDYtYxYnx/Y="; vendorHash = "sha256-swcj1JxYoRqKscu/IC0uiAATp4AXN0aANWkSq/mJsyc="; checkFlags = [ checkFlags = let skippedTestPrefixes = [ # Workaround for "failed to load modules" "-skip=TestCommands/mod" "TestCommands/mod" # Server tests are flaky, at least in x86_64-darwin. See #368072 # We can try testing again after updating the `httpget` helper # ref: https://github.com/gohugoio/hugo/blob/v0.140.1/main_test.go#L220-L233 "TestCommands/server" ]; in [ "-skip=^${builtins.concatStringsSep "|^" skippedTestPrefixes}" ]; proxyVendor = true; Loading Loading @@ -58,11 +66,12 @@ buildGoModule rec { --zsh <(${emulator} $out/bin/hugo completion zsh) ''; passthru.tests.version = testers.testVersion { package = hugo; command = "hugo version"; version = "v${version}"; }; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}"; versionCheckProgramArg = [ "version" ]; passthru.updateScript = nix-update-script { }; Loading @@ -76,6 +85,7 @@ buildGoModule rec { schneefux Br1ght0ne Frostman kachick ]; }; }