Commit 532fac96 authored by Sav Tripodi's avatar Sav Tripodi
Browse files

hugo: 0.155.3 -> 0.158.0

parent 6c2abbfb
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -11,22 +11,26 @@

buildGoModule (finalAttrs: {
  pname = "hugo";
  version = "0.155.3";
  version = "0.158.0";

  src = fetchFromGitHub {
    owner = "gohugoio";
    repo = "hugo";
    tag = "v${finalAttrs.version}";
    hash = "sha256-2TvzM7veSAGDqomWXHuEnYX8bGVxAxTto0Xzc+vypDY=";
    hash = "sha256-7/zrJdoJVDVHt/2qKPkfrxjxMMpB2F2i0fCXZLkd7gw=";
  };

  vendorHash = "sha256-Fh38o7wD6/gL4szvT4UmA4lzIStqITjgjulsIQlPmHU=";
  vendorHash = "sha256-StGdZ1FP6906jFbqoYQgrbEOx1YPCsqE+01ITQgtaEU=";

  checkFlags =
    let
      skippedTestPrefixes = [
        # Workaround for "failed to load modules"
        # Workaround for integration tests that reach out to the public
        # internet. Alternative option is to prefetch but it was decided
        # to continue to use ignores.
        # ref: https://github.com/NixOS/nixpkgs/pull/501960
        "TestCommands/mod"
        "TestCommands/hugo__static_issue14507"
        # 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