[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28885] [PATCH 6/9] gnu: Add ruby-cztop.
From: |
Christopher Baines |
Subject: |
[bug#28885] [PATCH 6/9] gnu: Add ruby-cztop. |
Date: |
Sat, 24 Feb 2018 16:39:49 +0000 |
* gnu/packages/ruby.scm (ruby-cztop): New variable.
---
gnu/packages/ruby.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index a9725af81..f94ac5400 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -676,6 +676,44 @@ 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.12.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "cztop" version))
+ (sha256
+ (base32
+ "0yqbpaiw5d7f271d73lyrsh8xpx6n4zi6xqwfgi00dacxrq3s3fa"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:test-target "spec"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-lib_paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "lib/cztop/poller/zmq.rb"
+ (("lib\\_paths = \\[.*\\]")
+ (string-append "lib_paths = ['"
+ (assoc-ref inputs "zeromq") "/lib"
+ "']"))))))))
+ (native-inputs
+ `(("bundler" ,bundler)
+ ("ruby-rspec" ,ruby-rspec)))
+ (inputs
+ `(("zeromq" ,zeromq)))
+ (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.16.1
- [bug#28885] [PATCH 1/9] gnu: networking: Add czmq., Christopher Baines, 2018/02/24
- [bug#28885] [PATCH 3/9] gnu: Add ruby-bacon-bits., Christopher Baines, 2018/02/24
- [bug#28885] [PATCH 6/9] gnu: Add ruby-cztop.,
Christopher Baines <=
- [bug#28885] [PATCH 8/9] gnu: Add ruby-mimemagic., Christopher Baines, 2018/02/24
- [bug#28885] [PATCH 9/9] gnu: Add ruby-iruby., Christopher Baines, 2018/02/24
- [bug#28885] [PATCH 2/9] gnu: Add ruby-mocha-on-bacon., Christopher Baines, 2018/02/24
- [bug#28885] [PATCH 5/9] gnu: Add ruby-czmq-ffi-gen., Christopher Baines, 2018/02/24
- [bug#28885] [PATCH 4/9] gnu: Add ruby-bond., Christopher Baines, 2018/02/24
- [bug#28885] [PATCH 7/9] gnu: Add ruby-data_uri., Christopher Baines, 2018/02/24