Unverified Commit 0a7b767d authored by Adam Thompson-Sharpe's avatar Adam Thompson-Sharpe
Browse files

libzim: 9.3.0 -> 9.5.0

parent 533cbe20
Loading
Loading
Loading
Loading
+5 −11
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  nix-update-script,
  icu,
  meson,
  ninja,
@@ -15,24 +16,15 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "libzim";
  version = "9.3.0";
  version = "9.5.0";

  src = fetchFromGitHub {
    owner = "openzim";
    repo = "libzim";
    tag = finalAttrs.version;
    hash = "sha256-DZiFeZ2ry3JpXDs3mvf0q7diwhkjQ2730KQkDQPbgcY=";
    hash = "sha256-YeskvTtwibKQxMY4c6yEHW+EmXUq4AXpd5XLxKfsmXg=";
  };

  patches = [
    # Upstream patch for ICU76 compatibility.
    # https://github.com/openzim/libzim/pull/936
    (fetchpatch {
      url = "https://github.com/openzim/libzim/commit/4a42b3c6971c9534b104f48f6d13db8630a97d2f.patch";
      hash = "sha256-FjaGZ2bI1ROLg3rvWIGLbVoImGr51MbWjbBj+lGj1rs=";
    })
  ];

  nativeBuildInputs = [
    ninja
    meson
@@ -60,6 +52,8 @@ stdenv.mkDerivation (finalAttrs: {
    "-Dtest_data_dir=none"
  ];

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

  meta = {
    description = "Reference implementation of the ZIM specification";
    homepage = "https://github.com/openzim/libzim";