[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: gnu: Add ruby-rjb.
From: |
Ricardo Wurmus |
Subject: |
02/06: gnu: Add ruby-rjb. |
Date: |
Mon, 31 Aug 2015 15:01:45 +0000 |
rekado pushed a commit to branch master
in repository guix.
commit ad79eb554d626e5546605d3ad0bccc25d65320f8
Author: Ricardo Wurmus <address@hidden>
Date: Fri Aug 28 17:25:42 2015 +0200
gnu: Add ruby-rjb.
* gnu/packages/ruby.scm (ruby-rjb): New variable.
---
gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index d020cd5..84bfb82 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -26,6 +26,7 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages readline)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages java)
#:use-module (gnu packages libffi)
#:use-module (gnu packages gdbm)
#:use-module (gnu packages tls)
@@ -391,6 +392,33 @@ supported: XML Markup and XML Events.")
(home-page "https://github.com/jimweirich/builder")
(license license:expat)))
+(define-public ruby-rjb
+ (package
+ (name "ruby-rjb")
+ (version "1.5.3")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "rjb" version))
+ (sha256
+ (base32
+ "0gzs92dagk981s4vrymnqg0vll783b9k564j0cdgp167nc5a2zg4"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:tests? #f ; no rakefile
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'set-java-home
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
+ #t)))))
+ (native-inputs
+ `(("jdk" ,icedtea7 "jdk")))
+ (synopsis "Ruby-to-Java bridge using the Java Native Interface")
+ (description "RJB is a bridge program that connects Ruby and Java via the
+Java Native Interface.")
+ (home-page "http://www.artonx.org/collabo/backyard/?RubyJavaBridge")
+ (license license:lgpl2.1+)))
+
(define-public ruby-useragent
(package
(name "ruby-useragent")
- branch master updated (ab952dc -> 2cb3ab4), Ricardo Wurmus, 2015/08/31
- 05/06: gnu: Add ruby-xml-simple., Ricardo Wurmus, 2015/08/31
- 06/06: gnu: Add ruby-thor., Ricardo Wurmus, 2015/08/31
- 02/06: gnu: Add ruby-rjb.,
Ricardo Wurmus <=
- 03/06: gnu: Add ruby-atoulme-antwrap., Ricardo Wurmus, 2015/08/31
- 01/06: gnu: Add ruby-builder., Ricardo Wurmus, 2015/08/31
- 04/06: gnu: Add ruby-orderedhash., Ricardo Wurmus, 2015/08/31