guix-commits
[Top][All Lists]
Advanced

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

16/32: gnu: Add java-apache-xml-commons-resolver.


From: julien lepiller
Subject: 16/32: gnu: Add java-apache-xml-commons-resolver.
Date: Sat, 10 Feb 2018 13:05:12 -0500 (EST)

roptat pushed a commit to branch master
in repository guix.

commit 9a86ee788d8941dcd017ac40d5f785c08225f89f
Author: Julien Lepiller <address@hidden>
Date:   Sat Feb 10 17:34:43 2018 +0100

    gnu: Add java-apache-xml-commons-resolver.
    
    * gnu/packages/xml.scm (java-apache-xml-commons-resolver): New variable.
---
 gnu/packages/xml.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 0a16d7d..741ab28 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1542,3 +1542,42 @@ the Xerces-J XML parser and Xalan-J XSLT processor and 
specifies these APIs:
     (license (list license:asl2.0
                    license:w3c ;; Files under org.w3c
                    license:public-domain)))) ;; org.xml.sax
+
+(define-public java-apache-xml-commons-resolver
+  (package
+    (name "java-apache-xml-commons-resolver")
+    (version "1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://apache/xerces/xml-commons/"
+                           "xml-commons-resolver-" version ".tar.gz"))
+       (sha256
+        (base32 "1zhy4anc3fg9f8y348bj88vmab15aavrg6nf419ifb25asyygnsm"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           (for-each delete-file (find-files "." ".*\\.(jar|zip)"))
+           #t))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name (string-append "xml-resolver.jar")
+       #:tests? #f)); no tests
+    (inputs
+     `(("java-junit" ,java-junit)))
+    (home-page "http://xerces.apache.org/xml-commons/";)
+    (synopsis "Catalog-based entity and URI resolution")
+    (description "The resolver class implements the full semantics of OASIS 
Technical
+Resolution 9401:1997 (Amendment 2 to TR 9401) catalogs and the 06 Aug
+2001 Committee Specification of OASIS XML Catalogs.
+
+It also includes a framework of classes designed to read catalog files
+in a number of formats:
+
address@hidden
address@hidden The plain-text flavor described by TR9401.
address@hidden The XCatalog XML format defined by John Cowan
address@hidden The XML Catalog format defined by the OASIS Entity Resolution
+      Technical Committee.
address@hidden itemize")
+    (license license:asl2.0)))



reply via email to

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