From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8Chs-0001Mw-Pg for guix-patches@gnu.org; Tue, 09 May 2017 17:30:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8Chr-0001bM-Rp for guix-patches@gnu.org; Tue, 09 May 2017 17:30:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60220) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8Chr-0001b1-Nn for guix-patches@gnu.org; Tue, 09 May 2017 17:30:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d8Chr-0008Ul-0b for guix-patches@gnu.org; Tue, 09 May 2017 17:30:07 -0400 Subject: bug#26861: [PATCH 04/31] gnu: Add java-simple-xml. Resent-Message-ID: From: Ricardo Wurmus Date: Tue, 9 May 2017 23:28:21 +0200 Message-Id: <20170509212848.14688-4-rekado@elephly.net> In-Reply-To: <20170509212848.14688-1-rekado@elephly.net> References: <20170509212848.14688-1-rekado@elephly.net> 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: 26861@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/xml.scm (java-simple-xml): New variable. --- gnu/packages/xml.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 7801c6cdb..69bb67171 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -44,6 +44,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix build-system ant) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) @@ -1175,3 +1176,33 @@ to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents using the DOM, SAX, and SAX2 APIs.") (license license:asl2.0))) + +(define-public java-simple-xml + (package + (name "java-simple-xml") + (version "2.7.1") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/simple/simple-xml-" + version ".zip")) + (sha256 + (base32 + "0w19k1awslmihpwsxwjbg89hv0vjhk4k3i0vrfchy3mqknd988y5")))) + (build-system ant-build-system) + (arguments + `(#:build-target "build" + #:test-target "test" + #:phases + (modify-phases %standard-phases + (replace 'install (install-jars "jar"))))) + (native-inputs + `(("unzip" ,unzip))) + (home-page "http://simple.sourceforge.net/") + (synopsis "XML serialization framework for Java") + (description "Simple is a high performance XML serialization and +configuration framework for Java. Its goal is to provide an XML framework +that enables rapid development of XML configuration and communication systems. +This framework aids the development of XML systems with minimal effort and +reduced errors. It offers full object serialization and deserialization, +maintaining each reference encountered.") + (license license:asl2.0))) -- 2.12.2