summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-10-04 21:09:41 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-10-10 22:05:55 +0200
commit6fd07b98b144c239d27475d2bfac5ec3ee66be16 (patch)
tree89624b5ec836899e41e6b224d3410135e23a323d
parent087c8fd2c09fdff2b0b29c5119cc2ddf3f37381c (diff)
downloadguix-6fd07b98b144c239d27475d2bfac5ec3ee66be16.tar.gz
gnu: Add java-stax2-api.
* gnu/packages/java.scm (java-stax2-api): New variable.
-rw-r--r--gnu/packages/java.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index ab14584d78..993bffe640 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5902,3 +5902,26 @@ configuration.")
 to JSON, supported by default.  This is done by sub-classing Jackson core
 abstractions.")
     (license license:asl2.0))); found on wiki.fasterxml.com/JacksonLicensing
+
+(define-public java-stax2-api
+  (package
+    (name "java-stax2-api")
+    (version "4.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/FasterXML/stax2-api/archive/"
+                                  "stax2-api-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1amc1si0l0hyyw2sawmnzy4hkna3z6fp195y4nm5m9wb9ld5awkq"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "java-stax2-api.jar"
+       #:source-dir "src/main/java"
+       #:tests? #f)); no tests
+    (home-page "https://github.com/FasterXML/stax2-api")
+    (synopsis "Stax2 API")
+    (description "Stax2 API is an extension to basic Stax 1.0 API that adds
+significant new functionalities, such as full-featured bi-direction validation
+interface and high-performance Typed Access API.")
+    (license license:bsd-2)))