Unverified Commit fc51d35b authored by Marcin Serwin's avatar Marcin Serwin Committed by GitHub
Browse files

antora: 3.1.9 -> 3.1.14 (#492047)

parents fa128649 63c8b721
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -8,21 +8,24 @@

buildNpmPackage rec {
  pname = "antora";
  version = "3.1.9";
  version = "3.1.14";

  src = fetchFromGitLab {
    owner = "antora";
    repo = "antora";
    tag = "v${version}";
    hash = "sha256-hkavYC2LO8NRIRwHNWIJLRDkVnhAB4Di3IqL8uGt+U8=";
    hash = "sha256-9x80aBm2ZBj389kX2wioe7BtaNjR7p9aEZg7o49v0vY=";
  };

  npmDepsHash = "sha256-ngreuitwUcIDVF6vW7fZA1OaVxr9fv7s0IjCErXlcxg=";
  npmDepsHash = "sha256-s/f6/PxvSIlhFsCbsD25MPrk67vKXrnDqbfbW72Tr4I=";

  # This is to stop tests from being ran, as some of them fail due to trying to query remote repositories
  # Also disable the postbuild lint step which tries to download @biomejs/biome at build time
  postPatch = ''
    substituteInPlace package.json --replace \
    substituteInPlace package.json --replace-warn \
      '"_mocha"' '""'
    substituteInPlace package.json --replace-warn \
      '"npm run lint"' '""'
  '';

  postInstall = ''