From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGTu9-0007Z1-Gi for guix-patches@gnu.org; Sun, 19 Nov 2017 13:01:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGTu4-0003rm-WA for guix-patches@gnu.org; Sun, 19 Nov 2017 13:01:15 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:39211) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eGTu4-0003rf-Sg for guix-patches@gnu.org; Sun, 19 Nov 2017 13:01:12 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eGTu4-0006Qi-KN for guix-patches@gnu.org; Sun, 19 Nov 2017 13:01:12 -0500 Subject: [bug#29359] [PATCH 28/31] gnu: Add java-xstream. Resent-Message-ID: From: Julien Lepiller Date: Sun, 19 Nov 2017 18:58:02 +0100 Message-Id: <20171119175805.902-28-julien@lepiller.eu> In-Reply-To: <20171119175805.902-1-julien@lepiller.eu> References: <20171119175805.902-1-julien@lepiller.eu> 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: 29359@debbugs.gnu.org * gnu/packages/java.scm (java-xstream): New variable. --- gnu/packages/java.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 6aaaf7ef3..1f3fd71ab 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -8435,3 +8435,44 @@ XML streams, just like the SAX API's.") (description "Java-based solution for accessing, manipulating, and outputting XML data from Java code.") (license license:bsd-4))) + +(define-public java-xstream + (package + (name "java-xstream") + (version "1.4.9") + (source (origin + (method url-fetch) + (uri (string-append "https://repo1.maven.org/maven2/com/thoughtworks" + "/xstream/xstream-distribution/" version + "/xstream-distribution-" version "-src.zip")) + (file-name (string-append name "-" version ".zip")) + (sha256 + (base32 + "1cq9j9h839wc6pkrgd9bd7y94a3zrj1j741i134izqs9xx2b54fi")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "xstream.jar" + ;; Tests are not in a java subdirectory as assumed by ant-build-system + #:tests? #f + #:jdk ,icedtea-8 + #:source-dir "xstream/src/java")) + (inputs + `(("java-jdom" ,java-jdom) + ("java-jdom2" ,java-jdom2) + ("java-cglib" ,java-cglib) + ("java-joda-time" ,java-joda-time) + ("java-jettison" ,java-jettison) + ("java-xom" ,java-xom) + ("java-xpp3" ,java-xpp3) + ("java-dom4j" ,java-dom4j) + ("java-stax2-api" ,java-stax2-api) + ("java-woodstox-core" ,java-woodstox-core) + ("java-kxml2" ,java-kxml2) + ("java-stax" ,java-stax))) + (native-inputs + `(("unzip" ,unzip))) + (home-page "https://x-stream.github.io") + (synopsis "XML serialization library") + (description "XStream is a simple library to serialize objects to XML and +back again.") + (license license:x11))) -- 2.15.0