From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:56452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMXpH-0006Yg-V3 for guix-patches@gnu.org; Fri, 03 May 2019 09:02:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMXpC-0000ec-Vc for guix-patches@gnu.org; Fri, 03 May 2019 09:02:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34522) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hMXpC-0000eX-Ry for guix-patches@gnu.org; Fri, 03 May 2019 09:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hMXpC-0005sv-N1 for guix-patches@gnu.org; Fri, 03 May 2019 09:02:02 -0400 Subject: [bug#35545] [PATCH 02/17] gnu: Add java-jsonp-api. Resent-Message-ID: From: Julien Lepiller Date: Fri, 3 May 2019 15:01:19 +0200 Message-Id: <20190503130134.24788-2-julien@lepiller.eu> In-Reply-To: <20190503130134.24788-1-julien@lepiller.eu> References: <20190503145820.606f37db@sybil.lepiller.eu> <20190503130134.24788-1-julien@lepiller.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35545@debbugs.gnu.org * gnu/packages/java.scm (java-jsonp-api): New variable. --- gnu/packages/java.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) 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)))) -- 2.21.0