From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHTGA-0007E4-IY for guix-patches@gnu.org; Wed, 22 Nov 2017 06:32:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHTG6-0002uJ-FG for guix-patches@gnu.org; Wed, 22 Nov 2017 06:32:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:43232) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHTG6-0002u5-BS for guix-patches@gnu.org; Wed, 22 Nov 2017 06:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eHTG6-0007tq-37 for guix-patches@gnu.org; Wed, 22 Nov 2017 06:32:02 -0500 Subject: [bug#29394] [PATCH 02/12] gnu: Add javacc. Resent-Message-ID: From: Date: Wed, 22 Nov 2017 12:30:32 +0100 Message-ID: <20171122113042.1734-2-ricardo.wurmus@mdc-berlin.de> In-Reply-To: <20171122113042.1734-1-ricardo.wurmus@mdc-berlin.de> References: <20171122113042.1734-1-ricardo.wurmus@mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain 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: 29394@debbugs.gnu.org Cc: Ricardo Wurmus From: Ricardo Wurmus * gnu/packages/java.scm (javacc): New variable. --- gnu/packages/java.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index bd6c00365..eae4aa750 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1893,6 +1893,38 @@ designs.") license:asl2.0 license:cpl1.0))))) +(define-public javacc + (package + (name "javacc") + (version "7.0.3") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/javacc/javacc/" + "archive/" version ".tar.gz")) + (file-name (string-append "javacc-" version ".tar.gz")) + (sha256 + (base32 + "111xc9mnmc5a6qz6x3xbhqc07y1lg2b996ggzw0hrblg42zya9xf")))) + (build-system ant-build-system) + (arguments + `(#:test-target "test" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'delete-bundled-libs + (lambda _ + (delete-file-recursively "lib") #t)) + (replace 'install (install-jars "target"))))) + (home-page "https://javacc.org/") + (synopsis "Java parser generator") + (description "Java Compiler Compiler (JavaCC) is the most popular parser +generator for use with Java applications. A parser generator is a tool that +reads a grammar specification and converts it to a Java program that can +recognize matches to the grammar. In addition to the parser generator itself, +JavaCC provides other standard capabilities related to parser generation such +as tree building (via a tool called JJTree included with JavaCC), actions, +debugging, etc.") + (license license:bsd-3))) + (define-public java-classpathx-servletapi (package (name "java-classpathx-servletapi") -- 2.14.1