From 23b88e547c0950f0706dd240071f5953eb86ea00 Mon Sep 17 00:00:00 2001 From: Rene Saavedra Date: Thu, 18 Feb 2016 08:22:04 -0600 Subject: [PATCH] gnu: Add libosinfo. --- gnu/packages/gnome.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 363d920..d24fd41 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -4711,6 +4711,41 @@ can add your own files to the collection.") license:cc-by-sa2.0 license:cc-by-sa3.0)))) +(define-public libosinfo + (package + (name "libosinfo") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://fedorahosted.org/releases/l/i/libosinfo/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "1g7g5hc4lhi4y0j3mbcj19hawlqkflni1zk4aggrx49fg5l392jk")))) + (build-system gnu-build-system) + (native-inputs + `(("check" ,check) + ("glib:bin" ,glib "bin") ;; XXX: Required for glib-mkenums. + ("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (inputs + `(("gobject-introspection" ,gobject-introspection) + ("libsoup" ,libsoup) + ("libxslt" ,libxslt) + ("wget" ,wget))) ;; XXX: Required during make install. + (home-page "https://libosinfo.org") + (synopsis "Library for managing information about operating systems") + (description + "Libosinfo is a GObject based library API for managing information about +operating systems, hypervisors and the (virtual) hardware devices they can +support. It includes a database containing device metadata and provides APIs +to match/identify optimal devices for deploying an operating system on a +hypervisor. Via GObject Introspection, the API is available in all common +programming languages.") + (license (list license:gpl2+ + license:lgpl2.1+)))) ;; XXX: for libraries(COPYING.LIB). + (define-public gnome (package (name "gnome") -- 2.6.3