Subject: [PATCH 6/9] gnu: Add ruby-cztop.

From: Christopher Baines <[email-masked]>
Date: Wed, 18 Oct 2017 07:03:33 +0100

* gnu/packages/ruby.scm (ruby-cztop): New variable.
---
 gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 02320e7cf..48e9ee8b4 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -679,6 +679,33 @@ used by higher level bindings like those provided by CZTop.")
      "https://github.com/paddor/czmq-ffi-gen")
     (license license:isc)))
 
+(define-public ruby-cztop
+  (package
+    (name "ruby-cztop")
+    (version "0.11.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "cztop" version))
+       (sha256
+        (base32
+         "0mhqacvac1djgqzya623819qcj7f0yjqs2gimf40alp7dbwb82a3"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:test-target "spec"))
+    (native-inputs
+     `(("bundler" ,bundler)
+       ("ruby-rspec" ,ruby-rspec)))
+    (propagated-inputs
+     `(("ruby-czmq-ffi-gen" ,ruby-czmq-ffi-gen)))
+    (synopsis "CZMQ Ruby bindings")
+    (description
+     "CZMQ Ruby bindings, based on the generated low-level FFI bindings of
+CZMQ.  The focus of of CZTop is on being easy to use and providing first class
+support for security mechanisms.")
+    (home-page "https://github.com/paddor/cztop")
+    (license license:isc)))
+
 (define-public ruby-saikuro-treemap
   (package
     (name "ruby-saikuro-treemap")
-- 
2.14.2