GNU bug report logs -
#28885
[PATCH] Add ruby-iruby and dependencies
Previous Next
Reported by: Christopher Baines <mail <at> cbaines.net>
Date: Wed, 18 Oct 2017 05:59:02 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/ruby.scm (ruby-czmq-ffi-gen): New variable.
---
gnu/packages/ruby.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index af1a94db5..02320e7cf 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -33,6 +33,7 @@
#:use-module (gnu packages autotools)
#:use-module (gnu packages java)
#:use-module (gnu packages libffi)
+ #:use-module (gnu packages networking)
#:use-module (gnu packages python)
#:use-module (gnu packages ragel)
#:use-module (gnu packages tls)
@@ -644,6 +645,40 @@ format.")
(home-page "https://github.com/nicksieger/ci_reporter")
(license license:expat)))
+(define-public ruby-czmq-ffi-gen
+ (package
+ (name "ruby-czmq-ffi-gen")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "czmq-ffi-gen" version))
+ (sha256
+ (base32
+ "1yf719dmf4mwks1hqdsy6i5kzfvlsha69sfnhb2fr2cgk2snbys3"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:tests? #f ;; Tests are not included in the release on rubygems.org
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-ffi.rb
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "lib/czmq-ffi-gen/czmq/ffi.rb"
+ (("lib\\_dirs = \\[.*\\]")
+ (string-append "lib_dirs = ['"
+ (assoc-ref inputs "czmq") "/lib"
+ "']"))))))))
+ (inputs
+ `(("czmq" ,czmq)))
+ (propagated-inputs `(("ruby-ffi" ,ruby-ffi)))
+ (synopsis "Low-level Ruby bindings for CZMQ (generated using zproject)")
+ (description
+ "These Ruby bindings are not intended to be directly used, but rather
+used by higher level bindings like those provided by CZTop.")
+ (home-page
+ "https://github.com/paddor/czmq-ffi-gen")
+ (license license:isc)))
+
(define-public ruby-saikuro-treemap
(package
(name "ruby-saikuro-treemap")
--
2.14.2
This bug report was last modified 7 years and 141 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.