guix-commits
[Top][All Lists]
Advanced

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

07/08: gnu: Add s-xml.


From: guix-commits
Subject: 07/08: gnu: Add s-xml.
Date: Sun, 25 Nov 2018 07:55:34 -0500 (EST)

ambrevar pushed a commit to branch master
in repository guix.

commit c931f8098c85fdaa44e4603f39acad86a609079c
Author: Pierre Neidhardt <address@hidden>
Date:   Sun Nov 25 13:47:54 2018 +0100

    gnu: Add s-xml.
    
    * gnu/packages/lisp.scm (cl-s-xml, ecl-s-xml, sbcl-s-xml): New variables.
---
 gnu/packages/lisp.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 06d1e6f..ceb2cfc 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -3658,3 +3658,51 @@ the abstraction and portability layer as thin as 
possible.")
 
 (define-public ecl-socket
   (sbcl-package->ecl-package sbcl-usocket))
+
+(define-public sbcl-s-xml
+  (package
+    (name "sbcl-s-xml")
+    (version "3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri "https://common-lisp.net/project/s-xml/s-xml.tgz";)
+       (sha256
+        (base32
+         "061qcr0dzshsa38s5ma4ay924cwak2nq9gy59dw6v9p0qb58nzjf"))))
+    (build-system asdf-build-system/sbcl)
+    (home-page "https://common-lisp.net/project/s-xml/";)
+    (synopsis "Simple XML parser implemented in Common Lisp")
+    (description
+     "S-XML is a simple XML parser implemented in Common Lisp.  This XML
+parser implementation has the following features:
+
address@hidden
address@hidden It works (handling many common XML usages).
address@hidden It is very small (the core is about 700 lines of code, including
+comments and whitespace).
address@hidden It has a core API that is simple, efficient and pure functional, 
much
+like that from SSAX (see also http://ssax.sourceforge.net).
address@hidden It supports different DOM models: an XSML-based one, an 
LXML-based one
+and a classic xml-element struct based one.
address@hidden It is reasonably time and space efficient (internally avoiding 
garbage
+generatation as much as possible).
address@hidden It does support CDATA.
address@hidden It should support the same character sets as your Common Lisp
+implementation.
address@hidden It does support XML name spaces.
address@hidden itemize
+
+This XML parser implementation has the following limitations:
+
address@hidden
address@hidden It does not support any special tags (like processing 
instructions).
address@hidden It is not validating, even skips DTD's all together.
address@hidden itemize\n")
+    (license license:lgpl3+)))
+
+(define-public cl-s-xml
+  (sbcl-package->cl-source-package sbcl-s-xml))
+
+(define-public ecl-s-xml
+  (sbcl-package->ecl-package sbcl-s-xml))



reply via email to

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