guix-commits
[Top][All Lists]
Advanced

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

04/05: gnu: Add java-parsson.


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

roptat pushed a commit to branch master
in repository guix.

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

    gnu: Add java-parsson.
    
    * gnu/packages/java.scm (java-parsson): New variable.
    
    Change-Id: Ie564924329e4e0a866e6ed5fe9135c841fb66ae8
---
 gnu/packages/java.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index b7137386c3..7c8c4e0a36 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -13682,6 +13682,43 @@ portable APIs to parse, generate, transform, and query 
JSON documents.")
     ;; with classpath exception
     (license license:epl2.0)))
 
+(define-public java-parsson
+  (package
+    (name "java-parsson")
+    (version "1.1.5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/eclipse-ee4j/parsson";)
+                     (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "06vvr6qv1ihnk212gdxg4x0sd61lgxk7wf062s7gym5k2h7fms0p"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "parsson.jar"
+       #:source-dir "impl/src/main/java"
+       #:test-dir "impl/src/test"
+       #:use-java-modules? #t
+       #:jdk ,openjdk11
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'copy-resources
+           (lambda _
+             (copy-recursively "impl/src/main/resources"
+                               "build/classes"))))))
+    (inputs
+      (list java-jakarta-json))
+    (native-inputs
+      (list java-junit))
+    (home-page "https://github.com/eclipse-ee4j/parsson";)
+    (synopsis "Implementation of Jakarta JSON API")
+    (description "Eclipse Parsson is an implementation of the Jakarta JSON
+Processing specification.")
+    ;; 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]