From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGUM1-0005rL-W0 for guix-patches@gnu.org; Sun, 19 Nov 2017 13:30:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGULz-0001GF-Nm for guix-patches@gnu.org; Sun, 19 Nov 2017 13:30:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:39245) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eGULz-0001G5-Jp for guix-patches@gnu.org; Sun, 19 Nov 2017 13:30:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eGULz-00075c-DP for guix-patches@gnu.org; Sun, 19 Nov 2017 13:30:03 -0500 Subject: [bug#29359] [PATCH 24/31] gnu: Add java-kxml2. Resent-Message-ID: From: Julien Lepiller Date: Sun, 19 Nov 2017 18:57:58 +0100 Message-Id: <20171119175805.902-24-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-kxml2): New variable. --- gnu/packages/java.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index b6c360a1c..a736eb197 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -8324,3 +8324,31 @@ efficiently all input elements (for example in SOAP processors).") (description "Dom4j is a flexible XML framework for Java.") ;; some BSD-like 5-clause license (license (license:non-copyleft "file://LICENSE")))) + +(define-public java-kxml2 + (package + (name "java-kxml2") + (version "2.4.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/stefanhaustein/kxml2/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17kh04qf3vll1xx6sv06xlazw2hxa8qdmzyday9r6z2191jlj74w")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "kxml2.jar" + #:source-dir "src/main/java" + #:test-include (list "TestWb.java") + #:tests? #f)); Test fails + (inputs + `(("java-xpp3" ,java-xpp3))) + (native-inputs + `(("java-junit" ,java-junit))) + (home-page "http://kxml.org") + (synopsis "XML pull parser") + (description "kXML is a small XML pull parser, specially designed for +constrained environments such as Applets, Personal Java or MIDP devices.") + (license license:expat))) -- 2.15.0