From: Julien Lepiller <julien@lepiller.eu>
To: 31604@debbugs.gnu.org
Subject: [bug#31604] [PATCH 6/8] gnu: Add java-janino.
Date: Sat, 26 May 2018 14:45:48 +0200 [thread overview]
Message-ID: <20180526124550.5136-6-julien@lepiller.eu> (raw)
In-Reply-To: <20180526124550.5136-1-julien@lepiller.eu>
* 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 cfd8f8159..a810a5358 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.")))
--
2.17.0
next prev parent reply other threads:[~2018-05-26 12:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-26 12:43 [bug#31604] [PATCH] Some java packages Julien Lepiller
2018-05-26 12:45 ` [bug#31604] [PATCH 1/8] gnu: Add java-jsr250 Julien Lepiller
2018-05-26 12:45 ` [bug#31604] [PATCH 2/8] gnu: Add java-eclipse-sisu-inject Julien Lepiller
2018-05-26 12:45 ` [bug#31604] [PATCH 3/8] gnu: Add java-eclipse-sisu-plexus Julien Lepiller
2018-05-26 12:45 ` [bug#31604] [PATCH 4/8] gnu: Add java-commons-jxpath Julien Lepiller
2018-05-26 12:45 ` [bug#31604] [PATCH 5/8] gnu: Add java-commons-compiler Julien Lepiller
2018-05-26 12:45 ` Julien Lepiller [this message]
2018-05-26 12:45 ` [bug#31604] [PATCH 7/8] gnu: Add java-logback-core Julien Lepiller
2018-05-26 12:45 ` [bug#31604] [PATCH 8/8] gnu: Add java-logback-classic Julien Lepiller
2018-05-27 8:14 ` [bug#31604] [PATCH] Some java packages Roel Janssen
2018-05-27 17:07 ` bug#31604: " Julien Lepiller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180526124550.5136-6-julien@lepiller.eu \
--to=julien@lepiller.eu \
--cc=31604@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).