summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/misc/kiwix/lib.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/kiwix/lib.nix')
-rw-r--r--pkgs/applications/misc/kiwix/lib.nix20
1 files changed, 14 insertions, 6 deletions
diff --git a/pkgs/applications/misc/kiwix/lib.nix b/pkgs/applications/misc/kiwix/lib.nix
index 37f8203e047a..84fede08f31b 100644
--- a/pkgs/applications/misc/kiwix/lib.nix
+++ b/pkgs/applications/misc/kiwix/lib.nix
@@ -1,10 +1,10 @@
-{ stdenv, fetchFromGitHub
+{ lib, stdenv, fetchFromGitHub
, meson, ninja, pkg-config
, python3
, curl
, icu
+, libzim
, pugixml
-, zimlib
, zlib
, libmicrohttpd
, mustache-hpp
@@ -12,14 +12,14 @@
}:
stdenv.mkDerivation rec {
- pname = "kiwix-lib";
- version = "10.1.1";
+ pname = "libkiwix";
+ version = "12.0.0";
src = fetchFromGitHub {
owner = "kiwix";
repo = pname;
rev = version;
- sha256 = "sha256-ECvdraN1J5XJQLeZDngxO5I7frwZ8+W8tFpbB7o8UeM=";
+ sha256 = "sha256-4FxLxJxVhqbeNqX4vorHkROUuRURvE6AXlteIZCEBtc=";
};
nativeBuildInputs = [
@@ -38,8 +38,8 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [
curl
libmicrohttpd
+ libzim
pugixml
- zimlib
];
checkInputs = [
@@ -51,4 +51,12 @@ stdenv.mkDerivation rec {
postPatch = ''
patchShebangs scripts
'';
+
+ meta = with lib; {
+ description = "Common code base for all Kiwix ports";
+ homepage = "https://kiwix.org";
+ license = licenses.gpl3Plus;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ colinsane ];
+ };
}