From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8Rud-00082O-FT for guix-patches@gnu.org; Fri, 05 Oct 2018 11:21:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8RuY-00069n-Sy for guix-patches@gnu.org; Fri, 05 Oct 2018 11:21:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33761) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g8RuY-00069e-NQ for guix-patches@gnu.org; Fri, 05 Oct 2018 11:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g8RuY-0000nv-Hm for guix-patches@gnu.org; Fri, 05 Oct 2018 11:21:02 -0400 Subject: [bug#32947] [PATCH 2/3] gnu: Add java-jakarta-regexp. Resent-Message-ID: From: Danny Milosavljevic Date: Fri, 5 Oct 2018 17:20:43 +0200 Message-Id: <20181005152044.9682-2-dannym@scratchpost.org> In-Reply-To: <20181005152044.9682-1-dannym@scratchpost.org> References: <20181005151859.9616-1-dannym@scratchpost.org> <20181005152044.9682-1-dannym@scratchpost.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 32947@debbugs.gnu.org * gnu/packages/java.scm (java-jakarta-regexp): 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 4ddffb357..863a4b79c 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -9678,6 +9678,37 @@ the DOM level 3 load/save API's are in use.") (description "@code{java_cup} is a LALR parser generator for Java.") (license license:asl2.0))) +(define-public java-jakarta-regexp + (package + (name "java-jakarta-regexp") + (version "1.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://archive.apache.org/dist/jakarta/regexp/jakarta-regexp-" + version ".tar.gz")) + (sha256 + (base32 + "0zg9rmyif48dck0cv6ynpxv23mmcsx265am1fnnxss7brgw0ms3r")))) + (build-system ant-build-system) + (arguments + `(#:test-target "test" + #:phases + (modify-phases %standard-phases + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (out-share (string-append out "/share/java"))) + (mkdir-p out-share) + (install-file "build/jakarta-regexp-1.5.jar" out-share) + #t)))))) + (home-page "https://attic.apache.org/projects/jakarta-regexp.html") + (synopsis "Regular expression parser generator for Java.") + (description "@code{jakarta-regexp} is an old regular expression parser generator +for Java.") + (license license:asl2.0))) + (define-public java-jline (package (name "java-jline")