aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/xml.scm
diff options
context:
space:
mode:
authorRaghav Gururajan <raghavgururajan@disroot.org>2020-05-22 07:06:27 -0400
committerDanny Milosavljevic <dannym@scratchpost.org>2020-08-18 22:54:01 +0200
commit72e20842c6ae899d22ff294d9a4f0ca34d71be61 (patch)
tree5668e6c3f6b1d2eccf7248320d4ed8da623109ad /gnu/packages/xml.scm
parent72fd1b3f11b28ee7edc18011ed18cfa3b86a96f7 (diff)
downloadguix-72e20842c6ae899d22ff294d9a4f0ca34d71be61.tar
guix-72e20842c6ae899d22ff294d9a4f0ca34d71be61.tar.gz
gnu: Add libxmlb.
* gnu/packages/xml.scm (libxmlb): New variable. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
Diffstat (limited to 'gnu/packages/xml.scm')
-rw-r--r--gnu/packages/xml.scm37
1 files changed, 36 insertions, 1 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 20d9de246c..959745e4f7 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -48,9 +48,10 @@
#:use-module (gnu packages docbook)
#:use-module (gnu packages documentation)
#:use-module (gnu packages glib)
- #:use-module (gnu packages gnupg)
#:use-module (gnu packages gnome)
+ #:use-module (gnu packages gnupg)
#:use-module (gnu packages graphviz)
+ #:use-module (gnu packages gtk)
#:use-module (gnu packages java)
#:use-module (gnu packages nss)
#:use-module (gnu packages perl)
@@ -65,11 +66,45 @@
#:use-module (guix build-system ant)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system meson)
#:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (gnu packages linux)
#:use-module (gnu packages pkg-config))
+(define-public libxmlb
+ (package
+ (name "libxmlb")
+ (version "0.1.15")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/hughsie/libxmlb.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1mb73pnfwqc4mm0lm16yfn0lj495h8hcciprb2v6wgy3ifnnjxib"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:glib-or-gtk? #t))
+ (native-inputs
+ `(("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("appstream-glib" ,appstream-glib)
+ ("glib" ,glib)))
+ (synopsis "Library to help create and query binary XML blobs")
+ (description "Libxmlb library takes XML source, and converts it to a
+structured binary representation with a deduplicated string table; where the
+strings have the NULs included. This allows an application to mmap the binary
+XML file, do an XPath query and return some strings without actually parsing
+the entire document.")
+ (home-page "https://github.com/hughsie/libxmlb")
+ (license license:lgpl2.1+)))
+
(define-public expat
(package
(name "expat")