[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/23: gnu: Add java-bsh.
From: |
julien lepiller |
Subject: |
02/23: gnu: Add java-bsh. |
Date: |
Thu, 2 Nov 2017 08:03:22 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 11bc385b7b3a1e2a06ca93f39dc211572c4e5d89
Author: Julien Lepiller <address@hidden>
Date: Tue Oct 24 22:05:04 2017 +0200
gnu: Add java-bsh.
* gnu/packages/java.scm (java-bsh): New variable.
---
gnu/packages/java.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 5263dcc..a9df37e 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -6273,3 +6273,36 @@ file when the JVM loads it.")
trivial to parse command line parameters. Parameters are declared with
annotations.")
(license license:asl2.0)))
+
+(define-public java-bsh
+ (package
+ (name "java-bsh")
+ (version "2.0b6")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"https://github.com/beanshell/beanshell/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bawkxk6jyc75hxvzkpz689h73cn3f222m0ar3nvb0dal2b85kfv"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:build-target "jarall"
+ #:test-target "junit-tests-all"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((share (string-append (assoc-ref outputs "out")
"/share/java")))
+ (mkdir-p share)
+ (copy-file "dist/bsh-2.0b6.jar" (string-append share
"/bsh-2.0b6.jar"))
+ #t))))))
+ (home-page "http://beanshell.org/")
+ (synopsis "Lightweight Scripting for Java")
+ (description "BeanShell is a small, free, embeddable Java source
+interpreter with object scripting language features, written in Java.
+BeanShell dynamically executes standard Java syntax and extends it with common
+scripting conveniences such as loose types, commands, and method closures like
+those in Perl and JavaScript.")
+ (license license:asl2.0)))
- 15/23: gnu: Add java-lmax-disruptor., (continued)
- 15/23: gnu: Add java-lmax-disruptor., julien lepiller, 2017/11/02
- 18/23: gnu: Add java-powermock-core., julien lepiller, 2017/11/02
- 04/23: gnu: Add java-jmock-junit4., julien lepiller, 2017/11/02
- 19/23: gnu: Add java-powermock-api-support., julien lepiller, 2017/11/02
- 12/23: gnu: Add java-lz4., julien lepiller, 2017/11/02
- 16/23: gnu: Add java-xerial-core., julien lepiller, 2017/11/02
- 17/23: gnu: Add java-powermock-reflect., julien lepiller, 2017/11/02
- 14/23: gnu: Add java-bouncycastle-bcpkix., julien lepiller, 2017/11/02
- 20/23: gnu: Add java-powermock-modules-junit4-common., julien lepiller, 2017/11/02
- 22/23: gnu: Add java-powermock-api-easymock., julien lepiller, 2017/11/02
- 02/23: gnu: Add java-bsh.,
julien lepiller <=
- 13/23: gnu: Add java-bouncycastle-bcprov., julien lepiller, 2017/11/02
- 10/23: gnu: Add java-jnacl., julien lepiller, 2017/11/02
- 23/23: gnu: Add java-plexus-classworlds., julien lepiller, 2017/11/02
- 21/23: gnu: Add java-powermock-modules-junit4., julien lepiller, 2017/11/02