From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGTu3-0007SS-9J for guix-patches@gnu.org; Sun, 19 Nov 2017 13:01:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGTu2-0003ov-EY for guix-patches@gnu.org; Sun, 19 Nov 2017 13:01:11 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:39205) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eGTu2-0003ob-9r 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-0006Q0-1w for guix-patches@gnu.org; Sun, 19 Nov 2017 13:01:10 -0500 Subject: [bug#29359] [PATCH 20/31] gnu: Add java-xpp3. Resent-Message-ID: From: Julien Lepiller Date: Sun, 19 Nov 2017 18:57:54 +0100 Message-Id: <20171119175805.902-20-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-xpp3): New variable. --- gnu/packages/java.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 0dd1730ab..71e04d47d 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -8169,3 +8169,40 @@ that strives for correctness and simplicity.") (description "Xsdlib contains an implementation of sun.com.msv, an XML validator.") (license license:bsd-2))) + +(define-public java-xpp3 + (package + (name "java-xpp3") + (version "1.1.4") + (source (origin + (method url-fetch) + (uri (string-append "http://www.extreme.indiana.edu/dist/" + "java-repository/xpp3/distributions/xpp3-" + version "_src.tgz")) + (sha256 + (base32 + "1b99zrhyij5qwyhilyjdl1ykxvhk902vsvflh6gx4fir8hfvdl5p")) + (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 "jar" + #: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 (string-append "build/xpp3-" ,version ".jar") + (string-append out "/xpp3.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