* [bug#28885] [PATCH] Add ruby-iruby and dependencies
@ 2017-10-18 5:58 Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
` (2 more replies)
0 siblings, 3 replies; 21+ messages in thread
From: Christopher Baines @ 2017-10-18 5:58 UTC (permalink / raw)
To: 28885
[-- Attachment #1: Type: text/plain, Size: 891 bytes --]
Control: block -1 28773
This patch series adds a ruby kernel for Jupyter/IPython.
At the moment, it's dependant on supporting wrapping as part of the
Ruby build system.
When run in a shell, iruby seems to crash, something which looks to be
fixed upstream, but not yet released (with [1]), however it does still
work when used from the Jupyter notebook.
1: https://github.com/SciRuby/iruby/commit/514c7475f4d01a3c25fc8caf943e5d58675bd6ad
Christopher Baines (9):
gnu: networking: Add czmq.
gnu: Add ruby-mocha-on-bacon.
gnu: Add ruby-bacon-bits.
gnu: Add ruby-bond.
gnu: Add ruby-czmq-ffi-gen.
gnu: Add ruby-cztop.
gnu: Add ruby-data_uri.
gnu: Add ruby-mimemagic.
gnu: Add ruby-iruby.
gnu/packages/networking.scm | 25 +++++
gnu/packages/ruby.scm | 241 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 266 insertions(+)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 1/9] gnu: networking: Add czmq.
2017-10-18 5:58 [bug#28885] [PATCH] Add ruby-iruby and dependencies Christopher Baines
@ 2017-10-18 6:03 ` Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 2/9] gnu: Add ruby-mocha-on-bacon Christopher Baines
` (7 more replies)
2018-02-24 16:39 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
2018-02-24 16:48 ` [bug#28885] [PATCH] Add ruby-iruby and dependencies Christopher Baines
2 siblings, 8 replies; 21+ messages in thread
From: Christopher Baines @ 2017-10-18 6:03 UTC (permalink / raw)
To: 28885
* gnu/packages/networking.scm (czmq): New variable.
---
gnu/packages/networking.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 633b8ca43..f4ce04244 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -260,6 +260,31 @@ filtering (subscriptions), seamless access to multiple transport protocols and
more.")
(license license:lgpl3+)))
+(define-public czmq
+ (package
+ (name "czmq")
+ (version "4.0.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/zeromq/" name
+ "/releases/download/v" version
+ "/" name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "12gbh57xnz2v82x1g80gv4bwapmyzl00lbin5ix3swyac8i7m340"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:configure-flags '("--enable-drafts")))
+ (inputs
+ `(("zeromq" ,zeromq)))
+ (home-page "http://zeromq.org")
+ (synopsis "High-level C bindings for ØMQ")
+ (description
+ "czmq provides bindings for the ØMQ core API that hides the differences
+between different versions of ØMQ.")
+ (license license:mpl2.0)))
+
(define-public librdkafka
(package
(name "librdkafka")
--
2.14.2
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 2/9] gnu: Add ruby-mocha-on-bacon.
2017-10-18 6:03 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
@ 2017-10-18 6:03 ` Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 3/9] gnu: Add ruby-bacon-bits Christopher Baines
` (6 subsequent siblings)
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2017-10-18 6:03 UTC (permalink / raw)
To: 28885
* gnu/packages/ruby.scm (ruby-mocha-on-bacon): New variable.
---
gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ab3e9e37b..e246d0b2f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1519,6 +1519,30 @@ allows mocking and stubbing of methods on real (non-mock) classes.")
(home-page "http://gofreerange.com/mocha/docs")
(license license:expat)))
+(define-public ruby-mocha-on-bacon
+ (package
+ (name "ruby-mocha-on-bacon")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "mocha-on-bacon" version))
+ (sha256
+ (base32
+ "1h49b33rq889hn8x3wp9byczl91va16jh1w4d2wyy4yj23icdrcp"))))
+ (build-system ruby-build-system)
+ (arguments
+ ;; rubygems.org release missing tests
+ '(#:tests? #f))
+ (propagated-inputs `(("ruby-mocha" ,ruby-mocha)))
+ (synopsis "Mocha adapter for Bacon")
+ (description
+ "This package provides a Mocha adapter for Bacon, allowing you to use the
+Mocha stubbing and mocking library with Bacon, a small RSpec clone.")
+ (home-page
+ "https://github.com/alloy/mocha-on-bacon")
+ (license license:expat)))
+
(define-public ruby-net-ssh
(package
(name "ruby-net-ssh")
--
2.14.2
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 3/9] gnu: Add ruby-bacon-bits.
2017-10-18 6:03 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 2/9] gnu: Add ruby-mocha-on-bacon Christopher Baines
@ 2017-10-18 6:03 ` Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 4/9] gnu: Add ruby-bond Christopher Baines
` (5 subsequent siblings)
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2017-10-18 6:03 UTC (permalink / raw)
To: 28885
* gnu/packages/ruby.scm (ruby-bacon-bits): New variable.
---
gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e246d0b2f..9a070f94d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1103,6 +1103,30 @@ features.")
(home-page "https://github.com/chneukirchen/bacon")
(license license:expat)))
+(define-public ruby-bacon-bits
+ (package
+ (name "ruby-bacon-bits")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "bacon-bits" version))
+ (sha256
+ (base32
+ "1ghpj8ja94lhi8rgi872hqk4fd2amz2k7g9znd64z5dj7v6l0dmx"))))
+ (build-system ruby-build-system)
+ (arguments
+ ;; No tests
+ '(#:tests? #f))
+ (propagated-inputs `(("ruby-bacon" ,ruby-bacon)))
+ (synopsis "Extensions to Bacon, for disabling tests, before and after
+blocks and more")
+ (description
+ "This extends the bacon testing framework with useful extensions to
+disable tests, have before and after blocks that run once and more.")
+ (home-page "https://github.com/cldwalker/bacon-bits")
+ (license license:expat)))
+
(define-public ruby-connection-pool
(package
(name "ruby-connection-pool")
--
2.14.2
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 4/9] gnu: Add ruby-bond.
2017-10-18 6:03 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 2/9] gnu: Add ruby-mocha-on-bacon Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 3/9] gnu: Add ruby-bacon-bits Christopher Baines
@ 2017-10-18 6:03 ` Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 5/9] gnu: Add ruby-czmq-ffi-gen Christopher Baines
` (4 subsequent siblings)
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2017-10-18 6:03 UTC (permalink / raw)
To: 28885
* gnu/packages/ruby.scm (ruby-bond): New variable.
---
gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9a070f94d..af1a94db5 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1372,6 +1372,34 @@ as a base class when writing classes that depend upon
(home-page "https://github.com/masover/blankslate")
(license license:expat)))
+(define-public ruby-bond
+ (package
+ (name "ruby-bond")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "bond" version))
+ (sha256
+ (base32
+ "1r19ifc4skyl2gxnifrxa5jvbbay9fb2in79ppgv02b6n4bhsw90"))))
+ (build-system ruby-build-system)
+ (native-inputs
+ `(("ruby-bacon" ,ruby-bacon)
+ ("ruby-bacon-bits" ,ruby-bacon-bits)
+ ("ruby-mocha-on-bacon" ,ruby-mocha-on-bacon)))
+ (synopsis "Bond can provide custom autocompletion for arguments, methods
+and more")
+ (description
+ "Bond can autocomplete argument(s) to methods, uniquely completing per
+module, per method and per argument. Bond provides a configuration system and
+a DSL for creating custom completions and completion rules. Bond can also
+load completions that ship with gems. Bond is able to offer more than irb's
+completion since it uses the full line of input when completing as opposed to
+irb's last-word approach.")
+ (home-page "http://tagaholic.me/bond/")
+ (license license:expat)))
+
(define-public ruby-instantiator
(package
(name "ruby-instantiator")
--
2.14.2
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 5/9] gnu: Add ruby-czmq-ffi-gen.
2017-10-18 6:03 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
` (2 preceding siblings ...)
2017-10-18 6:03 ` [bug#28885] [PATCH 4/9] gnu: Add ruby-bond Christopher Baines
@ 2017-10-18 6:03 ` Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 6/9] gnu: Add ruby-cztop Christopher Baines
` (3 subsequent siblings)
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2017-10-18 6:03 UTC (permalink / raw)
To: 28885
* 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
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 6/9] gnu: Add ruby-cztop.
2017-10-18 6:03 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
` (3 preceding siblings ...)
2017-10-18 6:03 ` [bug#28885] [PATCH 5/9] gnu: Add ruby-czmq-ffi-gen Christopher Baines
@ 2017-10-18 6:03 ` Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 7/9] gnu: Add ruby-data_uri Christopher Baines
` (2 subsequent siblings)
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2017-10-18 6:03 UTC (permalink / raw)
To: 28885
* 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
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 7/9] gnu: Add ruby-data_uri.
2017-10-18 6:03 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
` (4 preceding siblings ...)
2017-10-18 6:03 ` [bug#28885] [PATCH 6/9] gnu: Add ruby-cztop Christopher Baines
@ 2017-10-18 6:03 ` Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 8/9] gnu: Add ruby-mimemagic Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 9/9] gnu: Add ruby-iruby Christopher Baines
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2017-10-18 6:03 UTC (permalink / raw)
To: 28885
* gnu/packages/ruby.scm (ruby-data_uri): New variable.
---
gnu/packages/ruby.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 48e9ee8b4..edd7bbe03 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1965,6 +1965,26 @@ run as a daemon and to be controlled by simple start/stop/restart commands.")
(home-page "https://github.com/thuehlinger/daemons")
(license license:expat)))
+(define-public ruby-data_uri
+ (package
+ (name "ruby-data_uri")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "data_uri" version))
+ (sha256
+ (base32
+ "0fzkxgdxrlbfl4537y3n9mjxbm28kir639gcw3x47ffchwsgdcky"))))
+ (build-system ruby-build-system)
+ (synopsis "URI class for parsing data URIs")
+ (description
+ "Data @acronym{URI, universal resource idenfitier}s allow resources to be
+embedded inside a URI. The URI::Data class provides support for parsing these
+URIs using the normal URI.parse method.")
+ (home-page "http://github.com/dball/data_uri")
+ (license license:expat)))
+
(define-public ruby-git
(package
(name "ruby-git")
--
2.14.2
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 8/9] gnu: Add ruby-mimemagic.
2017-10-18 6:03 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
` (5 preceding siblings ...)
2017-10-18 6:03 ` [bug#28885] [PATCH 7/9] gnu: Add ruby-data_uri Christopher Baines
@ 2017-10-18 6:03 ` Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 9/9] gnu: Add ruby-iruby Christopher Baines
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2017-10-18 6:03 UTC (permalink / raw)
To: 28885
* gnu/packages/ruby.scm (ruby-mimemagic): 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 edd7bbe03..45f7b9c86 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3505,6 +3505,33 @@ that TURN is no longer being maintained.")
(home-page "http://rubygems.org/gems/turn")
(license license:expat)))
+(define-public ruby-mimemagic
+ (package
+ (name "ruby-mimemagic")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "mimemagic" version))
+ (sha256
+ (base32
+ "00ibc1mhvdfyfyl103xwb45621nwyqxf124cni5hyfhag0fn1c3q"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ ;; This phase breaks the tests, as it patches some of the test data.
+ (delete 'patch-source-shebangs))))
+ (native-inputs
+ `(("ruby-bacon" ,ruby-bacon)))
+ (synopsis "Ruby library for MIME detection by extension or content")
+ (description
+ "@acronym{MIME, Multipurpose Internet Mail Extensions} detection by
+extension or content, using the freedesktop.org.xml shared-mime-info
+database.")
+ (home-page "https://github.com/minad/mimemagic")
+ (license license:expat)))
+
(define-public ruby-mime-types-data
(package
(name "ruby-mime-types-data")
--
2.14.2
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 9/9] gnu: Add ruby-iruby.
2017-10-18 6:03 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
` (6 preceding siblings ...)
2017-10-18 6:03 ` [bug#28885] [PATCH 8/9] gnu: Add ruby-mimemagic Christopher Baines
@ 2017-10-18 6:03 ` Christopher Baines
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2017-10-18 6:03 UTC (permalink / raw)
To: 28885
* gnu/packages/ruby.scm (ruby-iruby): New variable.
---
gnu/packages/ruby.scm | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 45f7b9c86..282009ee9 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -290,6 +290,62 @@ an extensible architecture with a swappable backend.")
(home-page "https://github.com/svenfuchs/i18n")
(license license:expat)))
+(define-public ruby-iruby
+ (package
+ (name "ruby-iruby")
+ (version "0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "iruby" version))
+ (sha256
+ (base32
+ "1wdf2c0x8y6cya0n3y0p3p7b1sxkb2fdavdn2k58rf4rs37s7rzn"))))
+ (build-system ruby-build-system)
+ (arguments
+ ;; TODO: Tests currently fail.
+ ;;
+ ;; Finished in 1.764405s, 1.1335 runs/s, 5.1009 assertions/s.
+ ;;
+ ;; 1) Failure:
+ ;; IntegrationTest#test_interaction [/tmp/guix-build-ruby-iruby-0.3.drv-0/gem/test/integration_test.rb:25]:
+ ;; In [ expected
+ ;;
+ ;; 2 runs, 9 assertions, 1 failures, 0 errors, 0 skips
+ '(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-ipython
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "lib/iruby/command.rb"
+ (("version = `")
+ (string-append
+ "version = `"
+ (assoc-ref inputs "python-ipython")
+ "/bin/"))
+ (("Kernel\\.exec\\('")
+ (string-append
+ "Kernel.exec('"
+ (assoc-ref inputs "python-ipython")
+ "/bin/")))
+ #t)))))
+ (inputs
+ `(("python-ipython" ,python-ipython)))
+ (propagated-inputs
+ `(("ruby-bond" ,ruby-bond)
+ ("ruby-data_uri" ,ruby-data_uri)
+ ("ruby-mimemagic" ,ruby-mimemagic)
+ ("ruby-multi-json" ,ruby-multi-json)
+ ("ruby-cztop" ,ruby-cztop)
+ ;; Optional inputs
+ ("ruby-pry" ,ruby-pry)))
+ (synopsis "Ruby kernel for Jupyter/IPython")
+ (description
+ "This package provides a Ruby kernel for Jupyter/IPython frontends (e.g.
+notebook).")
+ (home-page "https://github.com/SciRuby/iruby")
+ (license license:expat)))
+
;; RSpec is the dominant testing library for Ruby projects. Even RSpec's
;; dependencies use RSpec for their test suites! To avoid these circular
;; dependencies, we disable tests for all of the RSpec-related packages.
--
2.14.2
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 1/9] gnu: networking: Add czmq.
2017-10-18 5:58 [bug#28885] [PATCH] Add ruby-iruby and dependencies Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
@ 2018-02-24 16:39 ` Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 2/9] gnu: Add ruby-mocha-on-bacon Christopher Baines
` (7 more replies)
2018-02-24 16:48 ` [bug#28885] [PATCH] Add ruby-iruby and dependencies Christopher Baines
2 siblings, 8 replies; 21+ messages in thread
From: Christopher Baines @ 2018-02-24 16:39 UTC (permalink / raw)
To: 28885
* gnu/packages/networking.scm (czmq): New variable.
---
gnu/packages/networking.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index cd3f4f124..f86b0da22 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -267,6 +267,42 @@ filtering (subscriptions), seamless access to multiple transport protocols and
more.")
(license license:lgpl3+)))
+(define-public czmq
+ (package
+ (name "czmq")
+ (version "4.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/zeromq/" name
+ "/releases/download/v" version
+ "/" name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "04gwf61rijwm6b2wblwv8gky1gdrbfmg1d19hf72kdc691ds7vrv"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(;; TODO Tests fail for some reason:
+ ;; * zauth: OK
+ ;; * zbeacon: OK (skipping test, no UDP broadcasting)
+ ;; E: (czmq_selftest) 18-02-24 16:25:52 No broadcast interface found, (ZSYS_INTERFACE=lo)
+ ;; make[2]: *** [Makefile:2245: check-local] Segmentation fault
+ ;; make[2]: Leaving directory '/tmp/guix-build-czmq-4.1.0.drv-0/czmq-4.1.0'
+ ;; make[1]: *** [Makefile:2032: check-am] Error 2
+ ;; make[1]: Leaving directory '/tmp/guix-build-czmq-4.1.0.drv-0/czmq-4.1.0'
+ ;; make: *** [Makefile:1588: check-recursive] Error 1
+ ;; phase `check' failed after 19.4 seconds
+ #:tests? #f
+ #:configure-flags '("--enable-drafts")))
+ (inputs
+ `(("zeromq" ,zeromq)))
+ (home-page "http://zeromq.org")
+ (synopsis "High-level C bindings for ØMQ")
+ (description
+ "czmq provides bindings for the ØMQ core API that hides the differences
+between different versions of ØMQ.")
+ (license license:mpl2.0)))
+
(define-public librdkafka
(package
(name "librdkafka")
--
2.16.1
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 2/9] gnu: Add ruby-mocha-on-bacon.
2018-02-24 16:39 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
@ 2018-02-24 16:39 ` Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 3/9] gnu: Add ruby-bacon-bits Christopher Baines
` (6 subsequent siblings)
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2018-02-24 16:39 UTC (permalink / raw)
To: 28885
* gnu/packages/ruby.scm (ruby-mocha-on-bacon): New variable.
---
gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index b15e1a271..5ba140e01 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1502,6 +1502,30 @@ allows mocking and stubbing of methods on real (non-mock) classes.")
(home-page "http://gofreerange.com/mocha/docs")
(license license:expat)))
+(define-public ruby-mocha-on-bacon
+ (package
+ (name "ruby-mocha-on-bacon")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "mocha-on-bacon" version))
+ (sha256
+ (base32
+ "1h49b33rq889hn8x3wp9byczl91va16jh1w4d2wyy4yj23icdrcp"))))
+ (build-system ruby-build-system)
+ (arguments
+ ;; rubygems.org release missing tests
+ '(#:tests? #f))
+ (propagated-inputs `(("ruby-mocha" ,ruby-mocha)))
+ (synopsis "Mocha adapter for Bacon")
+ (description
+ "This package provides a Mocha adapter for Bacon, allowing you to use the
+Mocha stubbing and mocking library with Bacon, a small RSpec clone.")
+ (home-page
+ "https://github.com/alloy/mocha-on-bacon")
+ (license license:expat)))
+
(define-public ruby-net-ssh
(package
(name "ruby-net-ssh")
--
2.16.1
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 3/9] gnu: Add ruby-bacon-bits.
2018-02-24 16:39 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 2/9] gnu: Add ruby-mocha-on-bacon Christopher Baines
@ 2018-02-24 16:39 ` Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 4/9] gnu: Add ruby-bond Christopher Baines
` (5 subsequent siblings)
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2018-02-24 16:39 UTC (permalink / raw)
To: 28885
* gnu/packages/ruby.scm (ruby-bacon-bits): New variable.
---
gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5ba140e01..31a97f0b7 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1094,6 +1094,30 @@ features.")
(home-page "https://github.com/chneukirchen/bacon")
(license license:expat)))
+(define-public ruby-bacon-bits
+ (package
+ (name "ruby-bacon-bits")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "bacon-bits" version))
+ (sha256
+ (base32
+ "1ghpj8ja94lhi8rgi872hqk4fd2amz2k7g9znd64z5dj7v6l0dmx"))))
+ (build-system ruby-build-system)
+ (arguments
+ ;; No tests
+ '(#:tests? #f))
+ (propagated-inputs `(("ruby-bacon" ,ruby-bacon)))
+ (synopsis "Extensions to Bacon, for disabling tests, before and after
+blocks and more")
+ (description
+ "This extends the bacon testing framework with useful extensions to
+disable tests, have before and after blocks that run once and more.")
+ (home-page "https://github.com/cldwalker/bacon-bits")
+ (license license:expat)))
+
(define-public ruby-connection-pool
(package
(name "ruby-connection-pool")
--
2.16.1
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 4/9] gnu: Add ruby-bond.
2018-02-24 16:39 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 2/9] gnu: Add ruby-mocha-on-bacon Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 3/9] gnu: Add ruby-bacon-bits Christopher Baines
@ 2018-02-24 16:39 ` Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 5/9] gnu: Add ruby-czmq-ffi-gen Christopher Baines
` (4 subsequent siblings)
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2018-02-24 16:39 UTC (permalink / raw)
To: 28885
* gnu/packages/ruby.scm (ruby-bond): New variable.
---
gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 31a97f0b7..456afb3f5 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1361,6 +1361,34 @@ as a base class when writing classes that depend upon
(home-page "https://github.com/masover/blankslate")
(license license:expat)))
+(define-public ruby-bond
+ (package
+ (name "ruby-bond")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "bond" version))
+ (sha256
+ (base32
+ "1r19ifc4skyl2gxnifrxa5jvbbay9fb2in79ppgv02b6n4bhsw90"))))
+ (build-system ruby-build-system)
+ (native-inputs
+ `(("ruby-bacon" ,ruby-bacon)
+ ("ruby-bacon-bits" ,ruby-bacon-bits)
+ ("ruby-mocha-on-bacon" ,ruby-mocha-on-bacon)))
+ (synopsis "Bond can provide custom autocompletion for arguments, methods
+and more")
+ (description
+ "Bond can autocomplete argument(s) to methods, uniquely completing per
+module, per method and per argument. Bond provides a configuration system and
+a DSL for creating custom completions and completion rules. Bond can also
+load completions that ship with gems. Bond is able to offer more than irb's
+completion since it uses the full line of input when completing as opposed to
+irb's last-word approach.")
+ (home-page "http://tagaholic.me/bond/")
+ (license license:expat)))
+
(define-public ruby-instantiator
(package
(name "ruby-instantiator")
--
2.16.1
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 5/9] gnu: Add ruby-czmq-ffi-gen.
2018-02-24 16:39 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
` (2 preceding siblings ...)
2018-02-24 16:39 ` [bug#28885] [PATCH 4/9] gnu: Add ruby-bond Christopher Baines
@ 2018-02-24 16:39 ` Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 6/9] gnu: Add ruby-cztop Christopher Baines
` (3 subsequent siblings)
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2018-02-24 16:39 UTC (permalink / raw)
To: 28885
* gnu/packages/ruby.scm (ruby-czmq-ffi-gen): New variable.
---
gnu/packages/ruby.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 456afb3f5..a9725af81 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -36,6 +36,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)
@@ -635,6 +636,46 @@ 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-lib_dirs
+ (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"
+ "']")))
+ (substitute* "lib/czmq-ffi-gen/libzmq.rb"
+ (("lib\\_dirs = \\[.*\\]")
+ (string-append "lib_dirs = ['"
+ (assoc-ref inputs "zeromq") "/lib"
+ "']"))))))))
+ (inputs
+ `(("zeromq" ,zeromq)
+ ("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.16.1
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 6/9] gnu: Add ruby-cztop.
2018-02-24 16:39 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
` (3 preceding siblings ...)
2018-02-24 16:39 ` [bug#28885] [PATCH 5/9] gnu: Add ruby-czmq-ffi-gen Christopher Baines
@ 2018-02-24 16:39 ` Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 7/9] gnu: Add ruby-data_uri Christopher Baines
` (2 subsequent siblings)
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2018-02-24 16:39 UTC (permalink / raw)
To: 28885
* 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
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 7/9] gnu: Add ruby-data_uri.
2018-02-24 16:39 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
` (4 preceding siblings ...)
2018-02-24 16:39 ` [bug#28885] [PATCH 6/9] gnu: Add ruby-cztop Christopher Baines
@ 2018-02-24 16:39 ` Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 8/9] gnu: Add ruby-mimemagic Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 9/9] gnu: Add ruby-iruby Christopher Baines
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2018-02-24 16:39 UTC (permalink / raw)
To: 28885
* gnu/packages/ruby.scm (ruby-data_uri): New variable.
---
gnu/packages/ruby.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f94ac5400..1409f1c58 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1965,6 +1965,26 @@ run as a daemon and to be controlled by simple start/stop/restart commands.")
(home-page "https://github.com/thuehlinger/daemons")
(license license:expat)))
+(define-public ruby-data_uri
+ (package
+ (name "ruby-data_uri")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "data_uri" version))
+ (sha256
+ (base32
+ "0fzkxgdxrlbfl4537y3n9mjxbm28kir639gcw3x47ffchwsgdcky"))))
+ (build-system ruby-build-system)
+ (synopsis "URI class for parsing data URIs")
+ (description
+ "Data @acronym{URI, universal resource idenfitier}s allow resources to be
+embedded inside a URI. The URI::Data class provides support for parsing these
+URIs using the normal URI.parse method.")
+ (home-page "http://github.com/dball/data_uri")
+ (license license:expat)))
+
(define-public ruby-git
(package
(name "ruby-git")
--
2.16.1
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 8/9] gnu: Add ruby-mimemagic.
2018-02-24 16:39 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
` (5 preceding siblings ...)
2018-02-24 16:39 ` [bug#28885] [PATCH 7/9] gnu: Add ruby-data_uri Christopher Baines
@ 2018-02-24 16:39 ` Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 9/9] gnu: Add ruby-iruby Christopher Baines
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2018-02-24 16:39 UTC (permalink / raw)
To: 28885
* gnu/packages/ruby.scm (ruby-mimemagic): 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 1409f1c58..c804b7d27 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3503,6 +3503,33 @@ that TURN is no longer being maintained.")
(home-page "http://rubygems.org/gems/turn")
(license license:expat)))
+(define-public ruby-mimemagic
+ (package
+ (name "ruby-mimemagic")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "mimemagic" version))
+ (sha256
+ (base32
+ "00ibc1mhvdfyfyl103xwb45621nwyqxf124cni5hyfhag0fn1c3q"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ ;; This phase breaks the tests, as it patches some of the test data.
+ (delete 'patch-source-shebangs))))
+ (native-inputs
+ `(("ruby-bacon" ,ruby-bacon)))
+ (synopsis "Ruby library for MIME detection by extension or content")
+ (description
+ "@acronym{MIME, Multipurpose Internet Mail Extensions} detection by
+extension or content, using the freedesktop.org.xml shared-mime-info
+database.")
+ (home-page "https://github.com/minad/mimemagic")
+ (license license:expat)))
+
(define-public ruby-mime-types-data
(package
(name "ruby-mime-types-data")
--
2.16.1
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH 9/9] gnu: Add ruby-iruby.
2018-02-24 16:39 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
` (6 preceding siblings ...)
2018-02-24 16:39 ` [bug#28885] [PATCH 8/9] gnu: Add ruby-mimemagic Christopher Baines
@ 2018-02-24 16:39 ` Christopher Baines
7 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2018-02-24 16:39 UTC (permalink / raw)
To: 28885
* gnu/packages/ruby.scm (ruby-iruby): New variable.
---
gnu/packages/ruby.scm | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c804b7d27..2e7cb45a5 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -281,6 +281,62 @@ an extensible architecture with a swappable backend.")
(home-page "https://github.com/svenfuchs/i18n")
(license license:expat)))
+(define-public ruby-iruby
+ (package
+ (name "ruby-iruby")
+ (version "0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "iruby" version))
+ (sha256
+ (base32
+ "1wdf2c0x8y6cya0n3y0p3p7b1sxkb2fdavdn2k58rf4rs37s7rzn"))))
+ (build-system ruby-build-system)
+ (arguments
+ ;; TODO: Tests currently fail.
+ ;;
+ ;; Finished in 1.764405s, 1.1335 runs/s, 5.1009 assertions/s.
+ ;;
+ ;; 1) Failure:
+ ;; IntegrationTest#test_interaction [/tmp/guix-build-ruby-iruby-0.3.drv-0/gem/test/integration_test.rb:25]:
+ ;; In [ expected
+ ;;
+ ;; 2 runs, 9 assertions, 1 failures, 0 errors, 0 skips
+ '(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-ipython
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "lib/iruby/command.rb"
+ (("version = `")
+ (string-append
+ "version = `"
+ (assoc-ref inputs "python-ipython")
+ "/bin/"))
+ (("Kernel\\.exec\\('")
+ (string-append
+ "Kernel.exec('"
+ (assoc-ref inputs "python-ipython")
+ "/bin/")))
+ #t)))))
+ (inputs
+ `(("python-ipython" ,python-ipython)))
+ (propagated-inputs
+ `(("ruby-bond" ,ruby-bond)
+ ("ruby-data_uri" ,ruby-data_uri)
+ ("ruby-mimemagic" ,ruby-mimemagic)
+ ("ruby-multi-json" ,ruby-multi-json)
+ ("ruby-cztop" ,ruby-cztop)
+ ;; Optional inputs
+ ("ruby-pry" ,ruby-pry)))
+ (synopsis "Ruby kernel for Jupyter/IPython")
+ (description
+ "This package provides a Ruby kernel for Jupyter/IPython frontends (e.g.
+notebook).")
+ (home-page "https://github.com/SciRuby/iruby")
+ (license license:expat)))
+
;; RSpec is the dominant testing library for Ruby projects. Even RSpec's
;; dependencies use RSpec for their test suites! To avoid these circular
;; dependencies, we disable tests for all of the RSpec-related packages.
--
2.16.1
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [bug#28885] [PATCH] Add ruby-iruby and dependencies
2017-10-18 5:58 [bug#28885] [PATCH] Add ruby-iruby and dependencies Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
@ 2018-02-24 16:48 ` Christopher Baines
2018-03-03 13:13 ` bug#28885: " Christopher Baines
2 siblings, 1 reply; 21+ messages in thread
From: Christopher Baines @ 2018-02-24 16:48 UTC (permalink / raw)
To: 28885
[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]
Christopher Baines <mail@cbaines.net> writes:
> This patch series adds a ruby kernel for Jupyter/IPython.
>
> At the moment, it's dependant on supporting wrapping as part of the
> Ruby build system.
>
> When run in a shell, iruby seems to crash, something which looks to be
> fixed upstream, but not yet released (with [1]), however it does still
> work when used from the Jupyter notebook.
>
> 1: https://github.com/SciRuby/iruby/commit/514c7475f4d01a3c25fc8caf943e5d58675bd6ad
>
> Christopher Baines (9):
> gnu: networking: Add czmq.
> gnu: Add ruby-mocha-on-bacon.
> gnu: Add ruby-bacon-bits.
> gnu: Add ruby-bond.
> gnu: Add ruby-czmq-ffi-gen.
> gnu: Add ruby-cztop.
> gnu: Add ruby-data_uri.
> gnu: Add ruby-mimemagic.
> gnu: Add ruby-iruby.
>
> gnu/packages/networking.scm | 25 +++++
> gnu/packages/ruby.scm | 241 ++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 266 insertions(+)
I've sent an updated set of patches now, as things seem to have broken
in the mean time.
If I remember, and as long as no one objects, I'll merge these in a week
or so, as these patches have been sitting around for a while now.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* bug#28885: [PATCH] Add ruby-iruby and dependencies
2018-02-24 16:48 ` [bug#28885] [PATCH] Add ruby-iruby and dependencies Christopher Baines
@ 2018-03-03 13:13 ` Christopher Baines
0 siblings, 0 replies; 21+ messages in thread
From: Christopher Baines @ 2018-03-03 13:13 UTC (permalink / raw)
To: 28885-done
[-- Attachment #1: Type: text/plain, Size: 1281 bytes --]
Christopher Baines <mail@cbaines.net> writes:
> Christopher Baines <mail@cbaines.net> writes:
>
>> This patch series adds a ruby kernel for Jupyter/IPython.
>>
>> At the moment, it's dependant on supporting wrapping as part of the
>> Ruby build system.
>>
>> When run in a shell, iruby seems to crash, something which looks to be
>> fixed upstream, but not yet released (with [1]), however it does still
>> work when used from the Jupyter notebook.
>>
>> 1: https://github.com/SciRuby/iruby/commit/514c7475f4d01a3c25fc8caf943e5d58675bd6ad
>>
>> Christopher Baines (9):
>> gnu: networking: Add czmq.
>> gnu: Add ruby-mocha-on-bacon.
>> gnu: Add ruby-bacon-bits.
>> gnu: Add ruby-bond.
>> gnu: Add ruby-czmq-ffi-gen.
>> gnu: Add ruby-cztop.
>> gnu: Add ruby-data_uri.
>> gnu: Add ruby-mimemagic.
>> gnu: Add ruby-iruby.
>>
>> gnu/packages/networking.scm | 25 +++++
>> gnu/packages/ruby.scm | 241 ++++++++++++++++++++++++++++++++++++++++++++
>> 2 files changed, 266 insertions(+)
>
> I've sent an updated set of patches now, as things seem to have broken
> in the mean time.
>
> If I remember, and as long as no one objects, I'll merge these in a week
> or so, as these patches have been sitting around for a while now.
I've now pushed these patches :)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2018-03-03 13:15 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-18 5:58 [bug#28885] [PATCH] Add ruby-iruby and dependencies Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 2/9] gnu: Add ruby-mocha-on-bacon Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 3/9] gnu: Add ruby-bacon-bits Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 4/9] gnu: Add ruby-bond Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 5/9] gnu: Add ruby-czmq-ffi-gen Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 6/9] gnu: Add ruby-cztop Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 7/9] gnu: Add ruby-data_uri Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 8/9] gnu: Add ruby-mimemagic Christopher Baines
2017-10-18 6:03 ` [bug#28885] [PATCH 9/9] gnu: Add ruby-iruby Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 2/9] gnu: Add ruby-mocha-on-bacon Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 3/9] gnu: Add ruby-bacon-bits Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 4/9] gnu: Add ruby-bond Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 5/9] gnu: Add ruby-czmq-ffi-gen Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 6/9] gnu: Add ruby-cztop Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 7/9] gnu: Add ruby-data_uri Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 8/9] gnu: Add ruby-mimemagic Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 9/9] gnu: Add ruby-iruby Christopher Baines
2018-02-24 16:48 ` [bug#28885] [PATCH] Add ruby-iruby and dependencies Christopher Baines
2018-03-03 13:13 ` bug#28885: " Christopher Baines
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.