python312Packages.kneaddata: init at 0.7.7-alpha (#340230)
[NixPkgs.git] / pkgs / applications / misc / kiwix / default.nix
blob2c9eafb16c11fc7097b8c30ded0a7d30b9e87d87
2   lib,
3   mkDerivation,
4   fetchFromGitHub,
5   libkiwix,
6   pkg-config,
7   qmake,
8   qtbase,
9   qtwebengine,
10   qtsvg,
11   qtimageformats,
12   aria2,
15 mkDerivation {
16   pname = "kiwix";
17   version = "2.3.1-unstable-2024-02-20";
19   src = fetchFromGitHub {
20     owner = "kiwix";
21     repo = "kiwix-desktop";
22     rev = "17ac566b07814aefb1decf108e4ba6d7ad9ef7bc";
23     hash = "sha256-BZzFnQE8/dyZkpY0X3zZ6yC6yLZ002Q/RoDzEhSOa/g=";
24   };
26   nativeBuildInputs = [
27     qmake
28     pkg-config
29   ];
31   buildInputs = [
32     libkiwix
33     qtbase
34     qtwebengine
35     qtsvg
36     qtimageformats
37   ];
39   qtWrapperArgs = [
40     "--prefix PATH : ${lib.makeBinPath [ aria2 ]}"
41   ];
43   meta = with lib; {
44     description = "Offline reader for Web content";
45     mainProgram = "kiwix-desktop";
46     homepage = "https://kiwix.org";
47     license = licenses.gpl3Plus;
48     platforms = platforms.linux;
49     maintainers = [ ];
50   };