From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMYbC-0001W3-NI for guix-patches@gnu.org; Sat, 26 May 2018 08:47:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMYb9-0006cy-V9 for guix-patches@gnu.org; Sat, 26 May 2018 08:47:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41213) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMYb9-0006ct-RK for guix-patches@gnu.org; Sat, 26 May 2018 08:47:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fMYb9-0007eQ-Ke for guix-patches@gnu.org; Sat, 26 May 2018 08:47:03 -0400 Subject: [bug#31604] [PATCH 4/8] gnu: Add java-commons-jxpath. Resent-Message-ID: From: Julien Lepiller Date: Sat, 26 May 2018 14:45:46 +0200 Message-Id: <20180526124550.5136-4-julien@lepiller.eu> In-Reply-To: <20180526124550.5136-1-julien@lepiller.eu> References: <20180526144338.72814509@lepiller.eu> <20180526124550.5136-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: 31604@debbugs.gnu.org * gnu/packages/java.scm (java-commons-jxpath): New variable. --- gnu/packages/java.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 4aef4befa..e205cccd6 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -4263,6 +4263,37 @@ from within Java, as well as an object registry that exposes Java objects to these scripting language engines.") (license license:asl2.0))) +(define-public java-commons-jxpath + (package + (name "java-commons-jxpath") + (version "1.3") + (source (origin + (method url-fetch) + (uri (string-append "mirror://apache/commons/jxpath/source/" + "commons-jxpath-" version "-src.tar.gz")) + (sha256 + (base32 + "1rpgg31ayn9fwr4bfi2i1ij0npcg79ad2fv0w9hacvawsyc42cfs")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "commons-jxpath.jar" + ;; tests require more dependencies, including mockrunner which depends on old software + #:tests? #f + #:source-dir "src/java")) + (inputs + `(("java-tomcat" ,java-tomcat) + ("java-jdom" ,java-jdom) + ("java-commons-beanutils" ,java-commons-beanutils))) + (native-inputs + `(("java-junit" ,java-junit))) + (home-page "http://commons.apache.org/jxpath/") + (synopsis "Simple interpreter of an expression language called XPath.") + (description "The org.apache.commons.jxpath package defines a simple +interpreter of an expression language called XPath. JXPath applies XPath +expressions to graphs of objects of all kinds: JavaBeans, Maps, Servlet +contexts, DOM etc, including mixtures thereof.") + (license license:asl2.0))) + (define-public java-jsr250 (package (name "java-jsr250") -- 2.17.0