Subject: [PATCH] gnu: Add xqilla.

From: Roel Janssen <[email-masked]>
Date: Wed, 21 Apr 2021 15:15:43 +0200

Hi Guix,

Here's a patch for xqilla.

Kind regards,
Roel Janssen

>From 13701599fe2c6690907ccd00d443675f036b1f10 Mon Sep 17 00:00:00 2001
From: Roel Janssen <[email-masked]>
Date: Wed, 21 Apr 2021 15:13:25 +0200
Subject: [PATCH] gnu: Add xqilla.

* gnu/packages/xml.scm (xqilla): New variable.
---
 gnu/packages/xml.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index db92f1b589..00864cadd0 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -31,6 +31,7 @@
 ;;; Copyright © 2021 Julien Lepiller <[email-masked]>
 ;;; Copyright © 2021 Felix Gruber <[email-masked]>
 ;;; Copyright © 2021 Guillaume Le Vaillant <[email-masked]>
+;;; Copyright © 2021 Roel Janssen <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1570,6 +1571,30 @@ generating, manipulating, and validating XML documents using the DOM, SAX, and
 SAX2 APIs.")
     (license license:asl2.0)))
 
+(define-public xqilla
+  (package
+   (name "xqilla")
+   (version "2.3.4")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append "mirror://sourceforge/xqilla/XQilla-"
+                                version ".tar.gz"))
+            (sha256
+             (base32 "1sq2b43hqzk9jq11sr0xc498z933a0rpfwvjp5z2xzii2rwk29i9"))))
+   (build-system gnu-build-system)
+   (arguments
+    `(#:configure-flags (list (string-append
+                               "--with-xerces="
+                               (assoc-ref %build-inputs "xerces-c")))))
+   (inputs
+    `(("xerces-c" ,xerces-c)))
+   (home-page "http://xqilla.sourceforge.net/")
+   (synopsis "XQuery and XPath utility")
+   (description "This package provides an XQuery and XPath 2 library and
+command line utility written in C++ implemented on top of the Xerces-C
+library.")
+   (license license:asl2.0)))
+
 (define-public xlsxio
   (package
     (name "xlsxio")
-- 
2.31.1