guix-patches
[Top][All Lists]
Advanced

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

[bug#29359] [PATCH 14/31] gnu: Add java-jaxp.


From: Björn Höfling
Subject: [bug#29359] [PATCH 14/31] gnu: Add java-jaxp.
Date: Sat, 3 Feb 2018 23:52:03 +0100

On Sun, 19 Nov 2017 18:57:48 +0100
Julien Lepiller <address@hidden> wrote:

> * gnu/packages/java.scm (java-jaxp): New variable.
> ---
>  gnu/packages/java.scm | 34 ++++++++++++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
> 
> diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
> index 3e8985595..f1a425418 100644
> --- a/gnu/packages/java.scm
> +++ b/gnu/packages/java.scm
> @@ -7929,3 +7929,37 @@ wider problem of Object to Object
> transformation.") (description "Joda-Time is a replacement for the
> Java date and time classes prior to Java SE 8.")
>      (license license:asl2.0)))
> +
> +;; 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 license:asl2.0)))

The license list is a bit longer. I have:

 (license (list
              license:asl2.0 
              license:w3c ;; Files under org.w3c
              license:public-domain)) ;; org.xml.sax

I will reply a patch for license:w3c.

Otherwise, it's fine.

Björn





reply via email to

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