Loading pkgs/applications/misc/kiwix/default.nix +5 −5 Original line number Diff line number Diff line { lib, mkDerivation, fetchFromGitHub , callPackage , libkiwix , pkg-config , qmake , qtbase Loading @@ -11,13 +11,13 @@ mkDerivation rec { pname = "kiwix"; version = "2.2.1"; version = "2.3.1"; src = fetchFromGitHub { owner = pname; repo = "${pname}-desktop"; rev = version; sha256 = "sha256-ks2d/guMp5pb2tiwGxNp3htQVm65MsYvZ/6tNjGXNr8="; sha256 = "sha256-ghx4pW6IkWPzZXk0TtMGeQZIzm9HEN3mR4XQFJ1xHDo="; }; nativeBuildInputs = [ Loading @@ -26,11 +26,11 @@ mkDerivation rec { ]; buildInputs = [ libkiwix qtbase qtwebengine qtsvg qtimageformats (callPackage ./lib.nix {}) ]; qtWrapperArgs = [ Loading @@ -40,7 +40,7 @@ mkDerivation rec { meta = with lib; { description = "An offline reader for Web content"; homepage = "https://kiwix.org"; license = licenses.gpl3; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ ajs124 ]; }; Loading pkgs/applications/misc/kiwix/lib.nix +14 −6 Original line number Diff line number Diff line { stdenv, fetchFromGitHub { lib, stdenv, fetchFromGitHub , meson, ninja, pkg-config , python3 , curl , icu , libzim , pugixml , zimlib , zlib , libmicrohttpd , mustache-hpp Loading @@ -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 = [ Loading @@ -38,8 +38,8 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ curl libmicrohttpd libzim pugixml zimlib ]; checkInputs = [ Loading @@ -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 ]; }; } pkgs/applications/misc/kiwix/tools.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { lib , fetchFromGitHub , icu , libkiwix , meson , ninja , pkg-config , stdenv }: stdenv.mkDerivation rec { pname = "kiwix-tools"; version = "3.4.0"; src = fetchFromGitHub { owner = "kiwix"; repo = "kiwix-tools"; rev = version; sha256 = "sha256-r3/aTH/YoDuYpKLPakP4toS3OtiRueTUjmR34rdmr+w="; }; nativeBuildInputs = [ meson ninja pkg-config ]; buildInputs = [ icu libkiwix ]; meta = with lib; { description = "Command line Kiwix tools: kiwix-serve, kiwix-manage, ..."; homepage = "https://kiwix.org"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ colinsane ]; }; } pkgs/development/libraries/libzim/default.nix +12 −2 Original line number Diff line number Diff line Loading @@ -5,6 +5,8 @@ , meson , ninja , pkg-config , python3 , xapian , xz , zstd }: Loading @@ -24,19 +26,27 @@ stdenv.mkDerivation rec { ninja meson pkg-config python3 ]; buildInputs = [ icu xz zstd ]; propagatedBuildInputs = [ xapian xz ]; postPatch = '' patchShebangs scripts ''; mesonFlags = [ # Tests are located at https://github.com/openzim/zim-testing-suite # "...some tests need up to 16GB of memory..." "-Dtest_data_dir=none" "-Dwith_xapian=false" ]; meta = with lib; { Loading pkgs/top-level/all-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -30210,6 +30210,8 @@ with pkgs; kiwix = libsForQt5.callPackage ../applications/misc/kiwix { }; kiwix-tools = callPackage ../applications/misc/kiwix/tools.nix { }; klayout = libsForQt5.callPackage ../applications/misc/klayout { }; klee = callPackage ../applications/science/logic/klee (with llvmPackages_11; { Loading Loading @@ -30430,6 +30432,8 @@ with pkgs; leo-editor = libsForQt5.callPackage ../applications/editors/leo-editor { }; libkiwix = callPackage ../applications/misc/kiwix/lib.nix { }; libowfat = callPackage ../development/libraries/libowfat { }; libowlevelzs = callPackage ../development/libraries/libowlevelzs { }; Loading
pkgs/applications/misc/kiwix/default.nix +5 −5 Original line number Diff line number Diff line { lib, mkDerivation, fetchFromGitHub , callPackage , libkiwix , pkg-config , qmake , qtbase Loading @@ -11,13 +11,13 @@ mkDerivation rec { pname = "kiwix"; version = "2.2.1"; version = "2.3.1"; src = fetchFromGitHub { owner = pname; repo = "${pname}-desktop"; rev = version; sha256 = "sha256-ks2d/guMp5pb2tiwGxNp3htQVm65MsYvZ/6tNjGXNr8="; sha256 = "sha256-ghx4pW6IkWPzZXk0TtMGeQZIzm9HEN3mR4XQFJ1xHDo="; }; nativeBuildInputs = [ Loading @@ -26,11 +26,11 @@ mkDerivation rec { ]; buildInputs = [ libkiwix qtbase qtwebengine qtsvg qtimageformats (callPackage ./lib.nix {}) ]; qtWrapperArgs = [ Loading @@ -40,7 +40,7 @@ mkDerivation rec { meta = with lib; { description = "An offline reader for Web content"; homepage = "https://kiwix.org"; license = licenses.gpl3; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ ajs124 ]; }; Loading
pkgs/applications/misc/kiwix/lib.nix +14 −6 Original line number Diff line number Diff line { stdenv, fetchFromGitHub { lib, stdenv, fetchFromGitHub , meson, ninja, pkg-config , python3 , curl , icu , libzim , pugixml , zimlib , zlib , libmicrohttpd , mustache-hpp Loading @@ -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 = [ Loading @@ -38,8 +38,8 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ curl libmicrohttpd libzim pugixml zimlib ]; checkInputs = [ Loading @@ -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 ]; }; }
pkgs/applications/misc/kiwix/tools.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { lib , fetchFromGitHub , icu , libkiwix , meson , ninja , pkg-config , stdenv }: stdenv.mkDerivation rec { pname = "kiwix-tools"; version = "3.4.0"; src = fetchFromGitHub { owner = "kiwix"; repo = "kiwix-tools"; rev = version; sha256 = "sha256-r3/aTH/YoDuYpKLPakP4toS3OtiRueTUjmR34rdmr+w="; }; nativeBuildInputs = [ meson ninja pkg-config ]; buildInputs = [ icu libkiwix ]; meta = with lib; { description = "Command line Kiwix tools: kiwix-serve, kiwix-manage, ..."; homepage = "https://kiwix.org"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ colinsane ]; }; }
pkgs/development/libraries/libzim/default.nix +12 −2 Original line number Diff line number Diff line Loading @@ -5,6 +5,8 @@ , meson , ninja , pkg-config , python3 , xapian , xz , zstd }: Loading @@ -24,19 +26,27 @@ stdenv.mkDerivation rec { ninja meson pkg-config python3 ]; buildInputs = [ icu xz zstd ]; propagatedBuildInputs = [ xapian xz ]; postPatch = '' patchShebangs scripts ''; mesonFlags = [ # Tests are located at https://github.com/openzim/zim-testing-suite # "...some tests need up to 16GB of memory..." "-Dtest_data_dir=none" "-Dwith_xapian=false" ]; meta = with lib; { Loading
pkgs/top-level/all-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -30210,6 +30210,8 @@ with pkgs; kiwix = libsForQt5.callPackage ../applications/misc/kiwix { }; kiwix-tools = callPackage ../applications/misc/kiwix/tools.nix { }; klayout = libsForQt5.callPackage ../applications/misc/klayout { }; klee = callPackage ../applications/science/logic/klee (with llvmPackages_11; { Loading Loading @@ -30430,6 +30432,8 @@ with pkgs; leo-editor = libsForQt5.callPackage ../applications/editors/leo-editor { }; libkiwix = callPackage ../applications/misc/kiwix/lib.nix { }; libowfat = callPackage ../development/libraries/libowfat { }; libowlevelzs = callPackage ../development/libraries/libowlevelzs { };