kiwix: split libkiwix out its own toplevel package

this allows libkiwix to be more easily used by non-nixpkgs consumers.
This commit is contained in:
colin
2023-01-13 05:07:14 +00:00
parent bea06ddf35
commit fa9cc1b2a0
3 changed files with 13 additions and 3 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
{ lib, mkDerivation, fetchFromGitHub
, callPackage
, libkiwix
, pkg-config
, qmake
, qtbase
@@ -26,11 +26,11 @@ mkDerivation rec {
];
buildInputs = [
libkiwix
qtbase
qtwebengine
qtsvg
qtimageformats
(callPackage ./lib.nix {})
];
qtWrapperArgs = [
+9 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub
{ lib, stdenv, fetchFromGitHub
, meson, ninja, pkg-config
, python3
, curl
@@ -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.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ colinsane ];
};
}
+2
View File
@@ -30172,6 +30172,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 { };