[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/32: gnu: Add java-jaxp.
From: |
julien lepiller |
Subject: |
15/32: gnu: Add java-jaxp. |
Date: |
Sat, 10 Feb 2018 13:05:12 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 1a17ca2624dd6dbbdaaecd4754ed41327351437e
Author: Julien Lepiller <address@hidden>
Date: Sat Feb 10 17:28:58 2018 +0100
gnu: Add java-jaxp.
* gnu/packages/xml.scm (java-jaxp): New variable.
---
gnu/packages/xml.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index a093758..0a16d7d 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -40,6 +40,7 @@
#:use-module (gnu packages autotools)
#:use-module (gnu packages compression)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages java)
#:use-module (gnu packages perl)
#:use-module (gnu packages perl-check)
#:use-module (gnu packages python)
@@ -1505,3 +1506,39 @@ What it doesn't offer: full SAX support (it can export
SAX, but only reads
XML), full XPath support (unless you use @code{XML::Twig::XPath}), nor DOM
support.")
(license license:perl-license)))
+
+;; TODO: Debian builds several jars out of this: jaxp-1.4.jar,
+;; xml-apis.jar and xml-apis-1.4.01.jar.
+(define-public java-jaxp
+ (package
+ (name "java-jaxp")
+ (version "1.4.01")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://apache/xerces/xml-commons/source/"
+ "xml-commons-external-" version "-src.tar.gz"))
+ (sha256
+ (base32 "0rhq32a7dl9yik7zx9h0naz2iz068qgcdiayak91wp4wr26xhjyk"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "jaxp.jar"
+ #:jdk ,icedtea-8
+ #:source-dir ".."
+ #:tests? #f)); no tests
+ (home-page "http://xerces.apache.org/xml-commons/")
+ (synopsis "Java XML parser and transformer APIs (DOM, SAX, JAXP, TrAX)")
+ (description "Jaxp from the Apache XML Commons project is used by
+the Xerces-J XML parser and Xalan-J XSLT processor and specifies these APIs:
+
address@hidden
address@hidden Document Object Model (DOM)
address@hidden Simple API for XML (SAX)
address@hidden Java APIs for XML Processing (JAXP)
address@hidden Transformation API for XML (TrAX)
address@hidden Document Object Model (DOM) Load and Save
address@hidden JSR 206 Java API for XML Processing
address@hidden itemize")
+ (license (list license:asl2.0
+ license:w3c ;; Files under org.w3c
+ license:public-domain)))) ;; org.xml.sax
- 08/32: gnu: Add java-jansi., (continued)
- 08/32: gnu: Add java-jansi., julien lepiller, 2018/02/10
- 16/32: gnu: Add java-apache-xml-commons-resolver., julien lepiller, 2018/02/10
- 06/32: gnu: Add java-hawtjni., julien lepiller, 2018/02/10
- 14/32: licenses: Add W3C license., julien lepiller, 2018/02/10
- 07/32: gnu: Add java-jansi-native., julien lepiller, 2018/02/10
- 30/32: gnu: Add java-jline., julien lepiller, 2018/02/10
- 18/32: gnu: Add java-jaxen-bootstrap., julien lepiller, 2018/02/10
- 28/32: gnu: Add java-jdom2., julien lepiller, 2018/02/10
- 27/32: gnu: Add java-jettison., julien lepiller, 2018/02/10
- 11/32: gnu: Add java-cdi-api., julien lepiller, 2018/02/10
- 15/32: gnu: Add java-jaxp.,
julien lepiller <=
- 12/32: gnu: Add java-joda-convert., julien lepiller, 2018/02/10
- 10/32: gnu: Add java-jboss-interceptors-api-spec., julien lepiller, 2018/02/10
- 13/32: gnu: Add java-joda-time., julien lepiller, 2018/02/10
- 22/32: gnu: Add java-xmlpull2., julien lepiller, 2018/02/10
- 19/32: gnu: Add java-xom., julien lepiller, 2018/02/10
- 25/32: gnu: Add java-kxml2., julien lepiller, 2018/02/10
- 32/32: gnu: Add java-xmlunit-legacy., julien lepiller, 2018/02/10
- 23/32: gnu: Add java-dom4j., julien lepiller, 2018/02/10
- 29/32: gnu: Add java-xstream., julien lepiller, 2018/02/10
- 31/32: gnu: Add java-xmlunit., julien lepiller, 2018/02/10