From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGTu3-0007ST-Oj for guix-patches@gnu.org; Sun, 19 Nov 2017 13:01:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGTu2-0003pD-Qu for guix-patches@gnu.org; Sun, 19 Nov 2017 13:01:11 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:39206) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eGTu2-0003p7-OC for guix-patches@gnu.org; Sun, 19 Nov 2017 13:01:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eGTu2-0006Q8-Gr for guix-patches@gnu.org; Sun, 19 Nov 2017 13:01:10 -0500 Subject: [bug#29359] [PATCH 21/31] gnu: Add java-xmlpull2. Resent-Message-ID: From: Julien Lepiller Date: Sun, 19 Nov 2017 18:57:55 +0100 Message-Id: <20171119175805.902-21-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-xmlpull2): New variable. --- gnu/packages/java.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 71e04d47d..2c535ceef 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -8206,3 +8206,41 @@ validator.") parser and should be used when there is a need to process quickly and efficiently all input elements (for example in SOAP processors).") (license license:public-domain))) + +(define-public java-xmlpull2 + (package + (name "java-xmlpull2") + (version "2.1.10") + (source (origin + (method url-fetch) + (uri (string-append "http://www.extreme.indiana.edu/xgws/xsoap/" + "PullParser/PullParser" version ".tgz")) + (sha256 + (base32 + "1kw9nhyqb7bzhn2zjbwlpi5vp5rzj89amzi3hadw2acyh2dmd0md")) + (modules '((guix build utils))) + (snippet + '(begin ;; Delete bundled jar archives. + (for-each delete-file (find-files "." ".*\\.jar")) + #t)))) + (build-system ant-build-system) + (arguments + `(#:tests? #f; no tests + #:build-target "impl" + #:phases + (modify-phases %standard-phases + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (string-append (assoc-ref outputs "out") "/share/java"))) + (mkdir-p out) + (copy-file "build/lib/PullParser-standard-2.1.10.jar" + (string-append out "/xmlpull2-standard.jar")) + (copy-file "build/lib/PullParser-2.1.10.jar" + (string-append out "/xmlpull2.jar"))) + #t))))) + (home-page "http://www.extreme.indiana.edu/xgws/xsoap/xpp/") + (synopsis "Streaming pull XML parser") + (description "Xml Pull Parser (in short XPP) is a streaming pull XML +parser and should be used when there is a need to process quickly and +efficiently all input elements (for example in SOAP processors).") + (license license:public-domain))) -- 2.15.0