guix-patches
[Top][All Lists]
Advanced

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

[bug#29359] [PATCH 15/31] gnu: Add java-apache-xml-commons-resolver.


From: Julien Lepiller
Subject: [bug#29359] [PATCH 15/31] gnu: Add java-apache-xml-commons-resolver.
Date: Sun, 19 Nov 2017 18:57:49 +0100

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

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index f1a425418..886a71f23 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -7963,3 +7963,32 @@ the Xerces-J XML parser and Xalan-J XSLT processor and 
specifies these APIs:
 @item JSR 206 Java API for XML Processing
 @end itemize")
     (license license:asl2.0)))
+
+(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
+    (native-inputs
+     `(("java-junit" ,java-junit)))
+    (home-page "http://xerces.apache.org/xml-commons/";)
+    (synopsis "Xml-related utilities and code")
+    (description "Xml-commons mainly focuses on providing code and services
+to other xml.apache.org projects instead of shipping it's own \"standalone\"
+project.")
+    (license license:asl2.0)))
-- 
2.15.0






reply via email to

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