mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: Add ruby-ffi.
* gnu/packages/ruby.scm (ruby-ffi): New variable.
This commit is contained in:
parent
f13636f291
commit
2417fce3af
1 changed files with 28 additions and 0 deletions
|
@ -774,6 +774,34 @@ (define-public ruby-rubygems-tasks
|
||||||
(home-page "https://github.com/postmodern/rubygems-tasks")
|
(home-page "https://github.com/postmodern/rubygems-tasks")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public ruby-ffi
|
||||||
|
(package
|
||||||
|
(name "ruby-ffi")
|
||||||
|
(version "1.9.10")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (rubygems-uri "ffi" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1m5mprppw0xcrv2mkim5zsk70v089ajzqiq5hpyb0xg96fcyzyxj"))))
|
||||||
|
(build-system ruby-build-system)
|
||||||
|
;; FIXME: Before running tests the build system attempts to build libffi
|
||||||
|
;; from sources.
|
||||||
|
(arguments `(#:tests? #f))
|
||||||
|
(native-inputs
|
||||||
|
`(("ruby-rake-compiler" ,ruby-rake-compiler)
|
||||||
|
("ruby-rspec" ,ruby-rspec)
|
||||||
|
("ruby-rubygems-tasks" ,ruby-rubygems-tasks)))
|
||||||
|
(inputs
|
||||||
|
`(("libffi" ,libffi)))
|
||||||
|
(synopsis "Ruby foreign function interface library")
|
||||||
|
(description "Ruby-FFI is a Ruby extension for programmatically loading
|
||||||
|
dynamic libraries, binding functions within them, and calling those functions
|
||||||
|
from Ruby code. Moreover, a Ruby-FFI extension works without changes on Ruby
|
||||||
|
and JRuby.")
|
||||||
|
(home-page "http://wiki.github.com/ffi/ffi")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public ruby-useragent
|
(define-public ruby-useragent
|
||||||
(package
|
(package
|
||||||
(name "ruby-useragent")
|
(name "ruby-useragent")
|
||||||
|
|
Loading…
Reference in a new issue