From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMYbC-0001W0-N7 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 1fMYbA-0006dA-Be for guix-patches@gnu.org; Sat, 26 May 2018 08:47:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41214) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMYbA-0006d4-8n for guix-patches@gnu.org; Sat, 26 May 2018 08:47:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fMYbA-0007eY-2C for guix-patches@gnu.org; Sat, 26 May 2018 08:47:04 -0400 Subject: [bug#31604] [PATCH 5/8] gnu: Add java-commons-compiler. Resent-Message-ID: From: Julien Lepiller Date: Sat, 26 May 2018 14:45:47 +0200 Message-Id: <20180526124550.5136-5-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-compiler): 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 e205cccd6..cfd8f8159 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -9986,3 +9986,34 @@ OSGi Service Registry is a goal of this project.") classpath scanning, auto-binding, and dynamic auto-wiring. This package adds Plexus support to the Sisu-Inject container.") (license license:epl1.0))) + +(define-public java-commons-compiler + (package + (name "java-commons-compiler") + (version "3.0.8") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janino-compiler/janino") + (commit "91aa95686d1e4ca3b16a984a03a38686572331b2"))) + (file-name (string-append name "-" version)) + (sha256 + (base32 + "04hfdl59sgh20qkxzgnibvs8f9hy6n7znxwpk611y5d89977y62r")) + (modules '((guix build utils))) + (snippet + '(begin + (for-each delete-file + (find-files "." "\\.jar$")) + #t)))) + (build-system ant-build-system) + (arguments + `(#:jar-name "commons-compiler.jar" + #:source-dir "commons-compiler/src/main" + #:tests? #f)); no tests + (home-page "https://github.com/janino-compiler/janino") + (synopsis "Java compiler") + (description "Commons-compiler contains an API for janino, including the +@code{IExpressionEvaluator}, @code{IScriptEvaluator}, @code{IClassBodyEvaluator} +and @code{ISimpleCompiler} interfaces.") + (license license:bsd-3))) -- 2.17.0