aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2018-02-10 17:52:47 +0100
committerJulien Lepiller <julien@lepiller.eu>2018-02-10 19:04:12 +0100
commit96f31935ec25e9c942b7855c4a7078e7cfe32d6b (patch)
tree87fa42fcd33a477214779b6890d51a4f1f17b861
parent5552080de385d61b7ac8f059ad7469e8ffdc58ac (diff)
downloadpatches-96f31935ec25e9c942b7855c4a7078e7cfe32d6b.tar
patches-96f31935ec25e9c942b7855c4a7078e7cfe32d6b.tar.gz
gnu: Add java-xsdlib.
* gnu/packages/xml.scm (java-xsdlib): New variable.
-rw-r--r--gnu/packages/xml.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 903151a53b..2e2b714cb5 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1660,3 +1660,28 @@ with XPath too.")
that strives for correctness and simplicity.")
;; 2.1 only
(license license:lgpl2.1)))
+
+(define-public java-xsdlib
+ (package
+ (name "java-xsdlib")
+ (version "2013.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://central.maven.org/maven2/com/sun/msv/"
+ "datatype/xsd/xsdlib/" version "/xsdlib-"
+ version "-sources.jar"))
+ (sha256
+ (base32
+ "185i48p1xp09wbq03i9zgfl701qa262rq46yf4cajzmk3336kqim"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:tests? #f; no tests
+ #:jar-name "xsdlib.jar"
+ #:jdk ,icedtea-8))
+ (inputs
+ `(("java-xerces" ,java-xerces)))
+ (home-page "http://central.maven.org/maven2/com/sun/msv/datatype/xsd/xsdlib/")
+ (synopsis "Sun Multi-Schema Validator")
+ (description "Xsdlib contains an implementation of sun.com.msv, an XML
+validator.")
+ (license license:bsd-2)))