Commit 2451a49e authored by Greg Hellings's avatar Greg Hellings
Browse files

libkiwix: 13.1.0 -> 14.0.0

parent 2265e301
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  nix-update-script,
  meson,
  ninja,
  pkg-config,
@@ -18,13 +19,13 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "libkiwix";
  version = "13.1.0";
  version = "14.0.0";

  src = fetchFromGitHub {
    owner = "kiwix";
    repo = "libkiwix";
    rev = finalAttrs.version;
    hash = "sha256-DKOwzfGyad/3diOaV1K8hXqT8YGfqCP6QDKDkxWu/1U=";
    hash = "sha256-QP23ZS0FJsMVtnWOofywaAPIU0GJ2L+hLP/x0LXMKiU=";
  };

  nativeBuildInputs = [
@@ -55,8 +56,13 @@ stdenv.mkDerivation (finalAttrs: {

  postPatch = ''
    patchShebangs scripts
    substituteInPlace meson.build \
        --replace-fail "libicu_dep = dependency('icu-i18n', static:static_deps)" \
                       "libicu_dep = [dependency('icu-i18n', static:static_deps), dependency('icu-uc', static:static_deps)]"
  '';

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

  meta = with lib; {
    description = "Common code base for all Kiwix ports";
    homepage = "https://kiwix.org";