diff mbox series

[bug#35545,02/17] gnu: Add java-jsonp-api.

Message ID 20190503130134.24788-2-julien@lepiller.eu
State Accepted
Headers show
Series [bug#35545,01/17] gnu: Add java-signpost-core. | expand

Checks

Context Check Description
cbaines/applying patch success Successfully applied
cbaines/applying patch success Successfully applied
cbaines/applying patch success Successfully applied
cbaines/applying patch success Successfully applied

Commit Message

Julien Lepiller May 3, 2019, 1:01 p.m. UTC
* gnu/packages/java.scm (java-jsonp-api): New variable.
---
 gnu/packages/java.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Comments

Björn Höfling May 5, 2019, 10:37 a.m. UTC | #1
On Fri,  3 May 2019 15:01:19 +0200
Julien Lepiller <julien@lepiller.eu> wrote:

> * gnu/packages/java.scm (java-jsonp-api): New variable.

> +(define-public java-jsonp-api
> +  (package
> +    (name "java-jsonp-api")
> +    (version "1.1.5")


> +    (home-page "https://javaee.github.io/jsonp/")

New Homepage since Eclipse took over JEE es here:

https://eclipse-ee4j.github.io/jsonp/


> +    (license (list license:gpl2
> +                   license:epl2.0))))

Could you clarify that it is EPL _or_ GPL, and that it is GPL+classpath
exception? Would it make sense to have its own entry in the license
module for GPL+classpath-exception in general? Though when searching
through the GNU licenses pages I havn't found a special entry for that.

Otherwise, LGTM.

Thanks,

Björn
diff mbox series

Patch

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 9664d749fb..7fb619cc40 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -11054,3 +11054,32 @@  network protocols, and core version control algorithms.")
      `(("java-javaewah" ,java-javaewah)
        ("java-jsch" ,java-jsch)
        ("java-slf4j-api" ,java-slf4j-api)))))
+
+(define-public java-jsonp-api
+  (package
+    (name "java-jsonp-api")
+    (version "1.1.5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/eclipse-ee4j/jsonp")
+                     (commit (string-append version "-RELEASE"))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0nxq16lrx7i87hgyj5rzcwilvr67h0i299gygfn8f5vs4n7n59vy"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "jsonp-api.jar"
+       #:tests? #f
+       #:source-dir "api/src/main/java"
+       #:test-dir "api/src/test"))
+    (home-page "https://javaee.github.io/jsonp/")
+    (synopsis "JSON Processing in Java")
+    (description "JSON Processing (JSON-P) is a Java API to process (e.g.
+parse, generate, transform and query) JSON messages.  It produces and
+consumes JSON text in a streaming fashion (similar to StAX API for XML)
+and allows to build a Java object model for JSON text using API classes
+(similar to DOM API for XML).")
+    (license (list license:gpl2
+                   license:epl2.0))))