Subject: [PATCH 1/2] gnu: Add emacs-esxml.

From: Roel Janssen <[email-masked]>
Date: Sat, 24 Feb 2018 11:58:46 +0100

* gnu/packages/emacs.scm (emacs-esxml): New variable.
---
 gnu/packages/emacs.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 81e6885f6..ce83c26a2 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -3559,6 +3559,28 @@ The purpose of this library is to wrap all the quirks and hassle of
 @code{package.el} into a sane API.")
     (license license:gpl3+)))
 
+(define-public emacs-esxml
+  (package
+    (name "emacs-esxml")
+    (version "0.3.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/tali713/esxml/archive/"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "01yk4ibbln3ykrin2124hfdi53fsp9gv7j49qw93s2ls52c9zb2f"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/tali713/esxml")
+    (synopsis "Elisp library for working with XML, ESXML and SXML")
+    (description
+     "This library provides two formats for XML code generation.  The primary
+form is esxml.  This is the form that is returned by such functions as
+@code{libxml-parse-xml-region} and it is used internally by emacs in many
+xml-related libraries.")
+    (license license:gpl3+)))
+
 (define-public emacs-queue
   (package
     (name "emacs-queue")
-- 
2.16.2