From patchwork Sun Feb 16 20:47:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Brice Waegeneire X-Patchwork-Id: 20278 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 25D4E17B9F; Sun, 16 Feb 2020 20:48:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 9499E17ACF for ; Sun, 16 Feb 2020 20:48:14 +0000 (GMT) Received: from localhost ([::1]:36226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3Qpo-0008Cc-Qe for patchwork@mira.cbaines.net; Sun, 16 Feb 2020 15:48:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41616) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3Qpg-00088U-6K for guix-patches@gnu.org; Sun, 16 Feb 2020 15:48:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3Qpe-0008A0-Ug for guix-patches@gnu.org; Sun, 16 Feb 2020 15:48:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60014) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j3Qpe-00089q-RO for guix-patches@gnu.org; Sun, 16 Feb 2020 15:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j3Qpe-00078c-Qd for guix-patches@gnu.org; Sun, 16 Feb 2020 15:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39579] [PATCH v2 1/3] gnu: osinfo-db-tools: Add osinfo-db-tools. Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Feb 2020 20:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39579 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39579@debbugs.gnu.org Received: via spool by 39579-submit@debbugs.gnu.org id=B39579.158188605127377 (code B ref 39579); Sun, 16 Feb 2020 20:48:02 +0000 Received: (at 39579) by debbugs.gnu.org; 16 Feb 2020 20:47:31 +0000 Received: from localhost ([127.0.0.1]:37747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3Qp6-00077J-3O for submit@debbugs.gnu.org; Sun, 16 Feb 2020 15:47:31 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:60645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3Qp4-00077B-QS for 39579@debbugs.gnu.org; Sun, 16 Feb 2020 15:47:27 -0500 X-Originating-IP: 78.237.113.178 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id ED66A60009 for <39579@debbugs.gnu.org>; Sun, 16 Feb 2020 20:47:24 +0000 (UTC) From: Brice Waegeneire Date: Sun, 16 Feb 2020 21:47:10 +0100 Message-Id: <20200216204712.16592-2-brice@waegenei.re> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200212163046.15761-1-brice@waegenei.re> References: <20200212163046.15761-1-brice@waegenei.re> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/virtualization.scm (osinfo-db-tools): New variable. --- gnu/packages/virtualization.scm | 36 +++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 3670b396a5..ca8f143f51 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2018 Sou Bunnbu ;;; Copyright © 2018 Julien Lepiller ;;; Copyright © 2019 Guy Fleury Iteriteka +;;; Copyright © 2020 Brice Waegeneire ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,6 +34,7 @@ #:use-module (gnu packages assembly) #:use-module (gnu packages attr) #:use-module (gnu packages autotools) + #:use-module (gnu packages backup) #:use-module (gnu packages bison) #:use-module (gnu packages check) #:use-module (gnu packages cmake) @@ -1382,3 +1384,37 @@ which is a hypervisor.") ;; TODO: Some files are licensed differently. List those. (license license:gpl2) (supported-systems '("i686-linux" "x86_64-linux" "armhf-linux")))) + +(define-public osinfo-db-tools + (package + (name "osinfo-db-tools") + (version "1.7.0") + (source (origin + (method url-fetch) + (uri (string-append "https://releases.pagure.org/libosinfo/osinfo-db-tools-" + version ".tar.xz")) + + (sha256 + (base32 + "08x8mrafphyll0d35xdc143rip3ahrz6bmzhc85nwhq7yk2vxpab")))) + (build-system meson-build-system) + (inputs + `(("libsoup" ,libsoup) + ("libxml2" ,libxml2) + ("libxslt" ,libxslt) + ("json-glib" ,json-glib) + ("libarchive" ,libarchive))) + (native-inputs + `(("perl" ,perl) + ("gobject-introspection" ,gobject-introspection) + ("gettext" ,gettext-minimal) + ("pkg-config" ,pkg-config) + ;; Tests + ("python" ,python) + ("pytest" ,python-pytest) + ("requests" ,python-requests))) + (home-page "https://gitlab.com/libosinfo/osinfo-db-tools") + (synopsis "Tools for managing the osinfo database") + (description "This package contains a set of tools to assist +administrators and developers in managing the database.") + (license license:lgpl2.0+)))