Files
nixos/overlays/kiwix-tools.nix
T

47 lines
753 B
Nix
Raw Normal View History

2023-03-07 17:17:24 -06:00
{ lib, pkgs, stdenv
, cmake
, meson
, ninja
, pkg-config
, curl
, libkiwix
, libmicrohttpd
, pugixml
, zimlib
, ...}:
stdenv.mkDerivation rec {
pname = "kiwix-tools";
2023-03-09 19:36:48 -06:00
version = "3.4.0";
2023-03-07 17:17:24 -06:00
src = pkgs.fetchFromGitHub {
owner = "kiwix";
repo = pname;
rev = version;
2023-03-15 00:43:31 -05:00
sha256 = "sha256-r3/aTH/YoDuYpKLPakP4toS3OtiRueTUjmR34rdmr+w=";
2023-03-07 17:17:24 -06:00
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
curl
libkiwix
libmicrohttpd
pugixml
zimlib
];
meta = with lib; {
description = "An offline read for Web content tools (HTTP server, search, etc)";
homepage = "https://kiwix.org";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = [ "Greg Hellings <greg.hellings@gmail.com>" ];
};
}