guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: Add java-jakarta-json.


From: guix-commits
Subject: 03/05: gnu: Add java-jakarta-json.
Date: Thu, 9 Nov 2023 13:09:42 -0500 (EST)

roptat pushed a commit to branch master
in repository guix.

commit 14e01e313da2d0650d4501233e4a10787df213f1
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Thu Nov 2 07:50:11 2023 +0100

    gnu: Add java-jakarta-json.
    
    * gnu/packages/java.scm (java-jakarta-json): New variable.
    
    Change-Id: I2c123710f9d31bf71e8fb86ff0d336b6fcfa9674
---
 gnu/packages/java.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 65d8f57508..b7137386c3 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -13655,6 +13655,33 @@ and allows building a Java object model for JSON text 
using API classes
 parse, generate, transform and query) JSON messages.  This package contains
 a reference implementation of that API.")))
 
+(define-public java-jakarta-json
+  (package
+    (name "java-jakarta-json")
+    (version "2.1.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/jakartaee/jsonp-api";)
+                     (commit (string-append version "-RELEASE"))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1q600harqfhlf763l75j4fx7ai7ybp7ga06aiky2a2hg8mhz0s5f"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "jakarta-json.jar"
+       #:source-dir "api/src/main/java"
+       #:tests? #f; no tests
+       #:jdk ,openjdk11))
+    (home-page "https://github.com/jakartaee/jsonp-api";)
+    (synopsis "Portable API for JSON handling in Java")
+    (description "This project contains API and Compatible Implementation of
+Jakarta JSON Processing specification.  Jakarta JSON Processing provides
+portable APIs to parse, generate, transform, and query JSON documents.")
+    ;; with classpath exception
+    (license license:epl2.0)))
+
 (define-public java-xmp
   (package
     (name "java-xmp")



reply via email to

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