summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorReily Siegel <mail@reilysiegel.com>2021-12-23 18:04:40 -0500
committerRicardo Wurmus <rekado@elephly.net>2022-01-12 17:43:03 +0100
commitb39bd8bbd81565da8c3c952eb28b1066cd63057c (patch)
treeb5c3e6a438de68f4d83e715533ccf22b79303e7a /gnu
parent684342691ec39f04dcfd64d92b57f52f89e1129e (diff)
gnu: Add clojure-data-xml.
* gnu/packages/clojure.scm (clojure-data-xml): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/clojure.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 8c78c757e1..2f4c20057e 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -272,6 +272,37 @@ All operations work on either byte arrays or Input/OutputStreams. Performance
is on par with Java implementations, e.g., Apache commons-codec.")
(license license:epl1.0)))
+(define-public clojure-data-xml
+ (package
+ (name "clojure-data-xml")
+ (version "0.2.0-alpha6")
+ (home-page "https://github.com/clojure/data.xml")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "data.xml-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "08vglcapq7sd9zhw8dw1y7dcdks7f21w1pw9p05i475i3bw4cf94"))))
+ (build-system clojure-build-system)
+ (arguments
+ '(#:source-dirs '("src/main/clojure")
+ #:test-dirs '("src/test/clojure")
+ #:doc-dirs '()))
+ (propagated-inputs (list clojure-data-codec))
+ (synopsis "Clojure library for reading and writing XML data")
+ (description "@code{data.xml} is a Clojure library for reading and writing
+XML data. @code{data.xml} has the following features:
+
+Parses XML documents into Clojure data structures
+Emits XML from Clojure data structures
+No additional dependencies if using JDK >= 1.6
+Uses StAX internally
+lazy - should allow parsing and emitting of large XML documents")
+ (license license:epl1.0)))
+
(define-public clojure-instaparse
(let ((commit "dcfffad5b065e750f0f5835f017cdd8188b8ca2e")
(version "1.4.9")) ; upstream forget to tag this release