From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id XzXtElPffGFnHwAAgWs5BA (envelope-from ) for ; Sat, 30 Oct 2021 07:59:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8BUKDlPffGG9VQAAB5/wlQ (envelope-from ) for ; Sat, 30 Oct 2021 05:59:47 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CB1D9137C3 for ; Sat, 30 Oct 2021 07:59:46 +0200 (CEST) Received: from localhost ([::1]:43596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgh3C-0000yh-Q4 for larch@yhetil.org; Sat, 30 Oct 2021 01:37:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgh38-0000xK-P9 for guix-patches@gnu.org; Sat, 30 Oct 2021 01:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgh38-0004Oj-Gz for guix-patches@gnu.org; Sat, 30 Oct 2021 01:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mgh37-0002iI-Pt for guix-patches@gnu.org; Sat, 30 Oct 2021 01:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51500] [PATCH] gnu: Add kiwix-tools Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 30 Oct 2021 05:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51500 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51500@debbugs.gnu.org Cc: Denis 'GNUtoo' Carikli X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163557220910406 (code B ref -1); Sat, 30 Oct 2021 05:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Oct 2021 05:36:49 +0000 Received: from localhost ([127.0.0.1]:56514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgh2u-0002hm-RM for submit@debbugs.gnu.org; Sat, 30 Oct 2021 01:36:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:47004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgh2q-0002hb-R7 for submit@debbugs.gnu.org; Sat, 30 Oct 2021 01:36:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgh2q-0000x7-KE for guix-patches@gnu.org; Sat, 30 Oct 2021 01:36:44 -0400 Received: from cyberdimension.org ([80.67.179.20]:38012 helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1mgh2n-0004NU-Kx for guix-patches@gnu.org; Sat, 30 Oct 2021 01:36:44 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 97459ab1; Sat, 30 Oct 2021 05:27:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 3be25a81; Sat, 30 Oct 2021 05:27:50 +0000 (UTC) From: Denis 'GNUtoo' Carikli Date: Sat, 30 Oct 2021 07:36:31 +0200 Message-Id: <20211030053631.31209-1-GNUtoo@cyberdimension.org> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=80.67.179.20; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635573586; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=5nFZ9TP08jU6eNHa4qwnZa9dPnuTzaFj2VrfuiXiYG0=; b=oYOTCraHj0ObvqKKxQlWvSXKAmEg+FGFhJaCmwlAgG0LAO87XWq94ekG6/c3Gej/HJ0IKL P2ELePzF0FFdONxKpvzLb6SdN+LQV4dKy/EA7DFXrZ0vTBwCCQYysHpRizw3/XbPsUwPc8 VkslXAb9ZLWVbfAsMokZ61yXHDK9dm57sf9CECaDnGdxXrnL63QjA0Qj9Vw5vBbafAXMz8 YfZgdQeiZ2aZbbTX3/419cZjE52VVqv3BogplkzKDM3AXHa7klYQm3jes7pAHJAx0BgG/Y w8MHdjrJ/Pzumt0z/OOenliwNEBF1aGCG6xr4pMjlbi8FF7Iz8tgy7glHXeRVg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635573586; a=rsa-sha256; cv=none; b=ZJj+3YWote79IWDM4Huw05Ibsyr74Gksw+75i7mp9D8rJwRKqR4idZQo3Llh5R+q3ZHEsc cM/Xmj9BgotyCOQdMTmrBcI9ZuC30NV8kTbOPgwRFkLQ8r2Lc6wzsG4Uf2iuNPGAZFKiof dv9D5mouGaAg86ZyM1+2NT9xbN2FE8xCoy2NO0PBGX0MVEeniXtRmf5sOY1Nn8cE72pnQ4 eMBqddLi2zVuLQ3Pf2F93scJ/25yM6661tKvvb+s1Z5HD0cNjDXDaQrAKpUlRONf5joItn K1R74gR7v5CkkjlmQ3LIp84pZ9ezGb68JixS+2X2UiIJmpo4A+vv758zMBxzBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 4.08 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: CB1D9137C3 X-Spam-Score: 4.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: OdICAs2soXgp * gnu/packages/web.scm (kiwix-tools): New variable. Signed-off-by: Denis 'GNUtoo' Carikli --- gnu/packages/web.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index d7df3079b3..c775610634 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -8124,6 +8124,44 @@ (define-public kiwix-desktop offline (such as Wikipedia), without any access to Internet.") (license license:gpl3))) +(define-public kiwix-tools + (package + (name "kiwix-tools") + (version "3.1.2") + (source (origin + (method url-fetch) + (uri (string-append + "https://download.kiwix.org/release/kiwix-tools/kiwix-tools-" + version + ".tar.xz")) + (sha256 + (base32 + "1npf9ddhpkmx97gxmvmwmi8a69md8kh2szimd9rpg6ggd4big03a")))) + (build-system meson-build-system) + (inputs + `(("curl" ,curl) + ("icu4c" ,icu4c) + ("kiwix-lib" ,kiwix-lib) + ("libmicrohttpd" ,libmicrohttpd) + ("libzim" ,libzim) + ("pugixml" ,pugixml) + ("xapian" ,xapian) + ("zlib" ,zlib) + ("zstd" ,zstd "lib"))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://wiki.kiwix.org/wiki/Software") + (synopsis "Kiwix command line tools") + (description "The Kiwix tools is a collection of Kiwix related command line +tools: +@itemize +@item kiwix-manage: Manage XML based library of ZIM files +@item kiwix-read: Read ZIM file content +@item kiwix-search: Fulltext search in ZIM files +@item kiwix-serve: HTTP daemon serving ZIM files +@end itemize\n") + (license license:gpl3))) + (define-public uriparser (let ((commit "25dddb16cf044a7df27884e7ad3911baaaca3d7c") (revision "1")) -- 2.33.0