summaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-06-27 00:36:43 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-06-27 00:36:43 -0400
commit7a5035162b83a7fbaa5027fc877e22ec24a97fbf (patch)
treee731ccc5747c21a8cd87e2bce362d795084f049b /gnu/packages/ruby.scm
parentfc5d1c5aa0f511025e5ee98a916b059f7427b2f5 (diff)
gnu: Add ruby-ffi-rzmq.
* gnu/packages/ruby.scm (ruby-ffi-rzmq): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1a5cfb45b9..34f381d17b 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6089,6 +6089,35 @@ library.")
(home-page "https://github.com/chuckremes/ffi-rzmq-core")
(license license:expat)))
+(define-public ruby-ffi-rzmq
+ (package
+ (name "ruby-ffi-rzmq")
+ (version "2.0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "ffi-rzmq" version))
+ (sha256
+ (base32
+ "14a5kxfnf8l3ngyk8hgmk30z07aj1324ll8i48z67ps6pz2kpsrg"))))
+ (build-system ruby-build-system)
+ (arguments '(#:tests? #t
+ #:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "rspec"))))))
+ (native-inputs
+ `(("ruby-rspec" ,ruby-rspec)))
+ (propagated-inputs
+ `(("ruby-ffi-rzmq-core" ,ruby-ffi-rzmq-core)))
+ (synopsis "High-level Ruby wrapper for the ZeroMQ networking library")
+ (description "This library provides a high-level API that wraps the ZeroMQ
+networking library using the Ruby foreign function interface (FFI). It is a
+pure Ruby wrapper, hence is compatible with any Ruby runtime that has support
+for FFI.")
+ (home-page "https://github.com/chuckremes/ffi-rzmq")
+ (license license:expat)))
+
(define-public ruby-gherkin
(package
(name "ruby-gherkin")