gnu: Add ruby-rjb.
* gnu/packages/ruby.scm (ruby-rjb): New variable.
This commit is contained in:
parent
cf36174ffb
commit
ad79eb554d
|
@ -26,6 +26,7 @@
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages readline)
|
#:use-module (gnu packages readline)
|
||||||
#:use-module (gnu packages autotools)
|
#:use-module (gnu packages autotools)
|
||||||
|
#:use-module (gnu packages java)
|
||||||
#:use-module (gnu packages libffi)
|
#:use-module (gnu packages libffi)
|
||||||
#:use-module (gnu packages gdbm)
|
#:use-module (gnu packages gdbm)
|
||||||
#:use-module (gnu packages tls)
|
#:use-module (gnu packages tls)
|
||||||
|
@ -391,6 +392,33 @@ supported: XML Markup and XML Events.")
|
||||||
(home-page "https://github.com/jimweirich/builder")
|
(home-page "https://github.com/jimweirich/builder")
|
||||||
(license license:expat)))
|
(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
|
(define-public ruby-useragent
|
||||||
(package
|
(package
|
||||||
(name "ruby-useragent")
|
(name "ruby-useragent")
|
||||||
|
|
Loading…
Reference in New Issue