guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26451: [PATCH] gnu: Add emacs-xmlgen.


From: Arun Isaac
Subject: bug#26451: [PATCH] gnu: Add emacs-xmlgen.
Date: Wed, 12 Apr 2017 01:24:33 +0530

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index aa41e8c63..5ffad2abd 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4279,3 +4279,32 @@ source file, @file{jl-encrypt.el}.")
 the associated decorations to HTML.  Output to CSS, inline CSS and
 fonts is supported.")
     (license license:gpl2+)))
+
+(define-public emacs-xmlgen
+  (package
+    (name "emacs-xmlgen")
+    (version "0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/philjackson/xmlgen/archive/";
+             version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0zay490vjby3f7455r0vydmjg7q1gwc78hilpfb0rg4gwz224z8r"))))
+    (build-system emacs-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'check
+           (lambda _
+             (zero? (system* "emacs" "--batch" "-L" "."
+                             "-l" "xmlgen-test.el"
+                             "-f" "ert-run-tests-batch-and-exit")))))))
+    (home-page "https://github.com/philjackson/xmlgen";)
+    (synopsis "S-expression to XML domain specific language (DSL) in elisp")
+    (description "@code{emacs-xmlgen} provides S-expression to XML
+conversion for elisp.")
+    (license license:gpl2+)))
-- 
2.12.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]