[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/08: gnu: Add java-janino.
From: |
julien lepiller |
Subject: |
06/08: gnu: Add java-janino. |
Date: |
Sun, 27 May 2018 12:48:36 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 3402e651c87190299b0d1cab18ace4ea29e65b1f
Author: Julien Lepiller <address@hidden>
Date: Sat May 26 00:00:37 2018 +0200
gnu: Add java-janino.
* gnu/packages/java.scm (java-janino): New variable.
---
gnu/packages/java.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index cfd8f81..a810a53 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -10017,3 +10017,26 @@ adds Plexus support to the Sisu-Inject container.")
@code{IExpressionEvaluator}, @code{IScriptEvaluator},
@code{IClassBodyEvaluator}
and @code{ISimpleCompiler} interfaces.")
(license license:bsd-3)))
+
+(define-public java-janino
+ (package
+ (inherit java-commons-compiler)
+ (name "java-janino")
+ (arguments
+ `(#:jar-name "janino.jar"
+ #:source-dir "src/main/java"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'chdir
+ (lambda _
+ (chdir "janino"))))))
+ (inputs
+ `(("java-commons-compiler" ,java-commons-compiler)))
+ (native-inputs
+ `(("java-junit" ,java-junit)
+ ("java-hamcrest-core" ,java-hamcrest-core)))
+ (description "Janino is a Java compiler. Janino can compile a set of
+source files to a set of class files like @code{javac}, but also compile a
+Java expression, block, class body or source file in memory, load the bytecode
+and execute it directly in the same JVM. @code{janino} can also be used for
+static code analysis or code manipulation.")))
- branch master updated (9b9db6c -> 3a69f5f), julien lepiller, 2018/05/27
- 03/08: gnu: Add java-eclipse-sisu-plexus., julien lepiller, 2018/05/27
- 06/08: gnu: Add java-janino.,
julien lepiller <=
- 07/08: gnu: Add java-logback-core., julien lepiller, 2018/05/27
- 02/08: gnu: Add java-eclipse-sisu-inject., julien lepiller, 2018/05/27
- 05/08: gnu: Add java-commons-compiler., julien lepiller, 2018/05/27
- 01/08: gnu: Add java-jsr250., julien lepiller, 2018/05/27
- 04/08: gnu: Add java-commons-jxpath., julien lepiller, 2018/05/27
- 08/08: gnu: Add java-logback-classic., julien lepiller, 2018/05/27