unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#50537] [PATCH] Add several new ruby gems to Guix
@ 2021-09-12  3:02 Stephen Paul Weber
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
  0 siblings, 1 reply; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:02 UTC (permalink / raw)
  To: 50537

[-- Attachment #1: Type: text/plain, Size: 218 bytes --]

This patch series adds all the depenencies and development tools for one of my
company's main projects to Guix, so that we can use Guix for development and
deployment, and everyone can benefit from their availability.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch
  2021-09-12  3:02 [bug#50537] [PATCH] Add several new ruby gems to Guix Stephen Paul Weber
@ 2021-09-12  3:05 ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 02/27] gnu: Add ruby-niceogiri Stephen Paul Weber
                     ` (25 more replies)
  0 siblings, 26 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 8db5bd9158..bb2ace23d3 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12488,3 +12488,35 @@ resource assignment, cost and revenue planning, risk and communication
 management, status tracking and reporting.")
     (home-page "https://taskjuggler.org")
     (license license:gpl2)))
+
+(define-public ruby-sucker-punch
+  (package
+    (name "ruby-sucker-punch")
+    (version "2.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "sucker_punch" version))
+        (sha256
+          (base32
+            "008vv7gpv2nm5n1njzvabd3aagbywc240y23vifvq6plir53ybay"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'extract-gemspec 'less-strict-dependencies
+           (lambda _
+             (substitute* "sucker_punch.gemspec"
+               (("1.0.0") "1.0"))
+             #t)))))
+    (propagated-inputs
+      `(("ruby-concurrent" ,ruby-concurrent)))
+    (native-inputs
+     `(("ruby-pry" ,ruby-pry)))
+    (synopsis
+      "Asynchronous processing library for Ruby")
+    (description
+      "Asynchronous processing library for Ruby")
+    (home-page
+      "https://github.com/brandonhilkert/sucker_punch")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 02/27] gnu: Add ruby-niceogiri.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 03/27] gnu: Add ruby-countdownlatch Stephen Paul Weber
                     ` (24 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index bb2ace23d3..1eb6a0fb82 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12520,3 +12520,37 @@ management, status tracking and reporting.")
     (home-page
       "https://github.com/brandonhilkert/sucker_punch")
     (license license:expat)))
+
+(define-public ruby-niceogiri
+  (package
+    (name "ruby-niceogiri")
+    (version "1.1.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "niceogiri" version))
+        (sha256
+          (base32
+            "1ha93211bc9cvh23s9w89zz7rq8irpf64ccd9arvg8v1sxg2798a"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:test-target "spec"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'extract-gemspec 'less-strict-dependencies
+           (lambda _
+             (substitute* "niceogiri.gemspec"
+               (("2.7") "3.8")
+               ((".*guard-rspec.*") "\n"))
+             #t)))))
+    (propagated-inputs
+      `(("ruby-nokogiri" ,ruby-nokogiri)))
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)
+       ("ruby-yard" ,ruby-yard)))
+    (synopsis "Make dealing with XML less painful")
+    (description
+      "Make dealing with XML less painful")
+    (home-page
+      "https://github.com/benlangfeld/Niceogiri")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 03/27] gnu: Add ruby-countdownlatch.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 02/27] gnu: Add ruby-niceogiri Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 04/27] gnu: Add ruby-blather Stephen Paul Weber
                     ` (23 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1eb6a0fb82..0b5aed4b37 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12554,3 +12554,25 @@ management, status tracking and reporting.")
     (home-page
       "https://github.com/benlangfeld/Niceogiri")
     (license license:expat)))
+
+(define-public ruby-countdownlatch
+  (package
+    (name "ruby-countdownlatch")
+    (version "1.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "countdownlatch" version))
+        (sha256
+          (base32
+            "1v6pbay6z07fp7yvnba1hmyacbicvmjndd8rn2h1b5rmpcb5s0j3"))))
+    (build-system ruby-build-system)
+    (synopsis
+      "Synchronization aid allowing threads to wait for operations in other threads")
+    (description
+      "This package provides a synchronization aid that allows one or more
+threads to wait until a set of operations being performed in other threads
+completes")
+    (home-page
+      "https://github.com/benlangfeld/countdownlatch")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 04/27] gnu: Add ruby-blather.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 02/27] gnu: Add ruby-niceogiri Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 03/27] gnu: Add ruby-countdownlatch Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 05/27] gnu: Add ruby-braintree Stephen Paul Weber
                     ` (22 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0b5aed4b37..79528b934a 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12576,3 +12576,43 @@ completes")
     (home-page
       "https://github.com/benlangfeld/countdownlatch")
     (license license:expat)))
+
+(define-public ruby-blather
+  (package
+    (name "ruby-blather")
+    (version "2.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "blather" version))
+        (sha256
+          (base32
+            "05ry2x835fj4pzk61282pcz86n018cr39zbgwbi213md74i90s7c"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'extract-gemspec 'less-strict-dependencies
+           (lambda _
+             (substitute* "blather.gemspec"
+               ((".*guard-rspec.*") "\n")
+                ((".*bluecloth.*") "\n"))
+             #t)))))
+    (propagated-inputs
+      `(("ruby-activesupport" ,ruby-activesupport)
+        ("ruby-eventmachine" ,ruby-eventmachine)
+        ("ruby-niceogiri" ,ruby-niceogiri)
+        ("ruby-nokogiri" ,ruby-nokogiri)
+        ("ruby-sucker-punch" ,ruby-sucker-punch)))
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)
+       ("ruby-yard" ,ruby-yard)
+       ("ruby-countdownlatch" ,ruby-countdownlatch)
+       ("ruby-rb-fsevent" ,ruby-rb-fsevent)
+       ("ruby-mocha" ,ruby-mocha)))
+    (synopsis
+      "XMPP DSL for Ruby written on top of EventMachine and Nokogiri")
+    (description
+      "XMPP DSL for Ruby written on top of EventMachine and Nokogiri")
+    (home-page "https://github.com/adhearsion/blather")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 05/27] gnu: Add ruby-braintree.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (2 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 04/27] gnu: Add ruby-blather Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 06/27] gnu: Add ruby-value-semantics Stephen Paul Weber
                     ` (21 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 79528b934a..efef72db03 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12616,3 +12616,49 @@ completes")
       "XMPP DSL for Ruby written on top of EventMachine and Nokogiri")
     (home-page "https://github.com/adhearsion/blather")
     (license license:expat)))
+
+(define-public ruby-braintree
+  (package
+    (name "ruby-braintree")
+    (version "4.4.0")
+    (source
+     (origin
+       (method git-fetch)
+       ;; Download from GitHub because the rubygems version does not contain
+       ;; Rakefile.
+       (uri (git-reference
+             (url "https://github.com/braintree/braintree_ruby")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0dzf26yhmlf65464nranvqg5rzhrc8gfaqbg3p4ld3abz8ccnw08"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:test-target "test:unit"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'less-strict-dependencies
+           (lambda _
+             (substitute* "Gemfile"
+               (("gem \"libxml-ruby\", \"3.2.0\"") "gem \"libxml-ruby\", \"~> 3.0.0\"")
+               (("gem \"rspec\", \"3.9.0\"") "gem \"rspec\", \"~> 3.8.0\"")
+               (("gem \"rubocop\", \"~>1.12.0\"") "gem \"rubocop\", \"~> 1.10.0\""))
+             #t)))))
+    (propagated-inputs
+      `(("ruby-builder" ,ruby-builder)
+        ("ruby-rexml" ,ruby-rexml)))
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)
+       ("ruby-libxml" ,ruby-libxml)
+       ("ruby-pry" ,ruby-pry)
+       ("ruby-rake" ,ruby-rake)
+       ("ruby-webrick" ,ruby-webrick)
+       ("ruby-rubocop" ,ruby-rubocop)))
+    (synopsis
+      "Resources and tools integrating Braintree's global payments platform")
+    (description
+      "Resources and tools for developers to integrate Braintree's global
+payments platform.")
+    (home-page "https://www.braintreepayments.com/")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 06/27] gnu: Add ruby-value-semantics.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (3 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 05/27] gnu: Add ruby-braintree Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 07/27] gnu: Add ruby-promise.rb Stephen Paul Weber
                     ` (20 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index efef72db03..4b04710665 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12662,3 +12662,35 @@ completes")
 payments platform.")
     (home-page "https://www.braintreepayments.com/")
     (license license:expat)))
+
+(define-public ruby-value-semantics
+  (package
+    (name "ruby-value-semantics")
+    (version "3.6.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "value_semantics" version))
+        (sha256
+          (base32
+            "1vdwai8wf6r1fkvdpyz1vzxm89q7ghjvb3pqpg2kvwibwzd99dnx"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "rspec")
+             #t)))))
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)))
+    (synopsis
+      "Modules that provide conventional value semantics for a set of attributes")
+    (description
+      "Generates modules that provide conventional value semantics for a given
+set of attributes.
+The behaviour is similar to an immutable `Struct` class,
+plus extensible, lightweight validation and coercion.")
+    (home-page
+      "https://github.com/tomdalling/value_semantics")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 07/27] gnu: Add ruby-promise.rb.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (4 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 06/27] gnu: Add ruby-value-semantics Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 08/27] gnu: Add ruby-multicodecs Stephen Paul Weber
                     ` (19 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 4b04710665..e42532acde 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12694,3 +12694,36 @@ plus extensible, lightweight validation and coercion.")
     (home-page
       "https://github.com/tomdalling/value_semantics")
     (license license:expat)))
+
+(define-public ruby-promise.rb
+  (package
+    (name "ruby-promise.rb")
+    (version "0.7.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "promise.rb" version))
+        (sha256
+          (base32
+            "0a819sikcqvhi8hck1y10d1nv2qkjvmmm553626fmrh51h2i089d"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:test-target "spec"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'extract-gemspec 'less-strict-dependencies
+           (lambda _
+             (substitute* "Rakefile"
+               (("if Gem.ruby_version.*") "if false\n"))
+             (substitute* "spec/spec_helper.rb"
+               ((".*devtools/spec_helper.*") "\n"))
+             #t)))))
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)
+       ("ruby-rspec-its" ,ruby-rspec-its)
+       ("ruby-awesome-print" ,ruby-awesome-print)
+       ("ruby-fuubar" ,ruby-fuubar)))
+    (synopsis "Promises/A+ for Ruby")
+    (description "Promises/A+ for Ruby")
+    (home-page "https://github.com/lgierth/promise.rb")
+    (license license:unlicense)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 08/27] gnu: Add ruby-multicodecs.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (5 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 07/27] gnu: Add ruby-promise.rb Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 09/27] gnu: Add ruby-multihashes Stephen Paul Weber
                     ` (18 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e42532acde..dbcca3bb60 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12727,3 +12727,24 @@ plus extensible, lightweight validation and coercion.")
     (description "Promises/A+ for Ruby")
     (home-page "https://github.com/lgierth/promise.rb")
     (license license:unlicense)))
+
+(define-public ruby-multicodecs
+  (package
+    (name "ruby-multicodecs")
+    (version "0.2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "multicodecs" version))
+        (sha256
+          (base32
+            "0drq267di57l9zqw6zvqqimilz42rbc8z7392dwkk8wslq30s7v8"))))
+    (build-system ruby-build-system)
+    (synopsis
+      "PORO of the multicodec table for use with other multiformat ruby gems")
+    (description
+      "This gem provides a PORO of the multicodec table for use with other
+    multiformat ruby gems.")
+    (home-page
+      "https://github.com/SleeplessByte/ruby-multicodec")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 09/27] gnu: Add ruby-multihashes.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (6 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 08/27] gnu: Add ruby-multicodecs Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 10/27] gnu: Add ruby-lazy-object Stephen Paul Weber
                     ` (17 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index dbcca3bb60..20b6287723 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12748,3 +12748,26 @@ plus extensible, lightweight validation and coercion.")
     (home-page
       "https://github.com/SleeplessByte/ruby-multicodec")
     (license license:expat)))
+
+(define-public ruby-multihashes
+  (package
+    (name "ruby-multihashes")
+    (version "0.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "multihashes" version))
+        (sha256
+          (base32
+            "17wiyy3fiv8rpgdv9ca01yncsmaaf8yg15bg18wc7m9frss1vgqg"))))
+    (build-system ruby-build-system)
+    (propagated-inputs
+      `(("ruby-multicodecs" ,ruby-multicodecs)))
+    (synopsis
+      "Simple, low-level multihash implementation for ruby")
+    (description
+      "This package provides a simple, low-level multihash
+(https://github.com/jbenet/multihash) implementation for ruby.")
+    (home-page
+      "https://github.com/multiformats/ruby-multihash")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 10/27] gnu: Add ruby-lazy-object.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (7 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 09/27] gnu: Add ruby-multihashes Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 11/27] gnu: Add ruby-citrus Stephen Paul Weber
                     ` (16 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 20b6287723..2fa797eeec 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12771,3 +12771,25 @@ plus extensible, lightweight validation and coercion.")
     (home-page
       "https://github.com/multiformats/ruby-multihash")
     (license license:expat)))
+
+(define-public ruby-lazy-object
+  (package
+    (name "ruby-lazy-object")
+    (version "0.0.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "lazy_object" version))
+        (sha256
+          (base32
+            "08px15lahc28ik9smvw1hgamf792gd6gq0s4k94yq1h7jq25wjn8"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:test-target "spec"))
+    (synopsis
+      "Object wrapper that forwards all calls to the reference object")
+    (description
+      "It's an object wrapper that forwards all calls to the reference object.
+This object is not created until the first method dispatch.")
+    (home-page "https://github.com/HornsAndHooves/lazy_object")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 11/27] gnu: Add ruby-citrus.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (8 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 10/27] gnu: Add ruby-lazy-object Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 12/27] gnu: Add ruby-cbor Stephen Paul Weber
                     ` (15 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 2fa797eeec..2934033db8 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12793,3 +12793,25 @@ plus extensible, lightweight validation and coercion.")
 This object is not created until the first method dispatch.")
     (home-page "https://github.com/HornsAndHooves/lazy_object")
     (license license:expat)))
+
+(define-public ruby-citrus
+  (package
+    (name "ruby-citrus")
+    (version "3.0.2")
+    (source
+     (origin
+       (method git-fetch)
+       ;; Download from GitHub because the rubygems version does not contain
+       ;; files needed for tests
+       (uri (git-reference
+             (url "https://github.com/mjackson/citrus")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "197wrgqrddgm1xs3yvjvd8vkvil4h4mdrcp16jmd4b57rxrrr769"))))
+    (build-system ruby-build-system)
+    (synopsis "Parsing Expressions for Ruby")
+    (description "Parsing Expressions for Ruby")
+    (home-page "http://mjackson.github.io/citrus/")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 12/27] gnu: Add ruby-cbor.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (9 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 11/27] gnu: Add ruby-citrus Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 13/27] gnu: Add ruby-gem-release Stephen Paul Weber
                     ` (14 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 2934033db8..1daa2c4236 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12815,3 +12815,29 @@ This object is not created until the first method dispatch.")
     (description "Parsing Expressions for Ruby")
     (home-page "http://mjackson.github.io/citrus/")
     (license license:expat)))
+
+(define-public ruby-cbor
+  (package
+    (name "ruby-cbor")
+    (version "0.5.9.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "cbor" version))
+        (sha256
+          (base32
+            "0511idr8xps9625nh3kxr68sdy6l3xy2kcz7r57g47fxb1v18jj3"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:test-target "spec"))
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)
+       ("ruby-rake-compiler" ,ruby-rake-compiler)
+       ("ruby-yard" ,ruby-yard)))
+    (synopsis
+      "Ruby library for CBOR binary object representation format")
+    (description
+      "CBOR is a library for the CBOR binary object representation format,
+based on Sadayuki Furuhashi's MessagePack library.")
+    (home-page "http://cbor.io/")
+    (license license:asl2.0)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 13/27] gnu: Add ruby-gem-release
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (10 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 12/27] gnu: Add ruby-cbor Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 14/27] gnu: Add ruby-base32 Stephen Paul Weber
                     ` (13 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1daa2c4236..715635148f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12841,3 +12841,26 @@ This object is not created until the first method dispatch.")
 based on Sadayuki Furuhashi's MessagePack library.")
     (home-page "http://cbor.io/")
     (license license:asl2.0)))
+
+(define-public ruby-gem-release
+  (package
+    (name "ruby-gem-release")
+    (version "2.2.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "gem-release" version))
+        (sha256
+          (base32
+            "108rrfaiayi14zrqbb6z0cbwcxh8n15am5ry2a86v7c8c3niysq9"))))
+    (build-system ruby-build-system)
+    (arguments
+     ;; No rakefile
+     `(#:tests? #f))
+    (synopsis
+      "Release your ruby gems with ease")
+    (description
+      "Release your ruby gems with ease.")
+    (home-page
+    "https://github.com/svenfuchs/gem-release")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 14/27] gnu: Add ruby-base32.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (11 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 13/27] gnu: Add ruby-gem-release Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 15/27] gnu: Add ruby-dhall Stephen Paul Weber
                     ` (12 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 715635148f..c644f6d798 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12864,3 +12864,24 @@ based on Sadayuki Furuhashi's MessagePack library.")
     (home-page
     "https://github.com/svenfuchs/gem-release")
     (license license:expat)))
+
+(define-public ruby-base32
+  (package
+    (name "ruby-base32")
+    (version "0.3.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "base32" version))
+        (sha256
+          (base32
+            "1fjs0l3c5g9qxwp43kcnhc45slx29yjb6m6jxbb2x1krgjmi166b"))))
+    (build-system ruby-build-system)
+    (native-inputs
+     `(("ruby-gem-release" ,ruby-gem-release)))
+    (synopsis
+      "Ruby extension for base32 encoding and decoding")
+    (description
+      "Ruby extension for base32 encoding and decoding")
+    (home-page "https://github.com/stesla/base32")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 15/27] gnu: Add ruby-dhall.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (12 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 14/27] gnu: Add ruby-base32 Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 16/27] gnu: Add ruby-money Stephen Paul Weber
                     ` (11 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c644f6d798..c6d006162f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12885,3 +12885,36 @@ based on Sadayuki Furuhashi's MessagePack library.")
       "Ruby extension for base32 encoding and decoding")
     (home-page "https://github.com/stesla/base32")
     (license license:expat)))
+
+(define-public ruby-dhall
+  (package
+    (name "ruby-dhall")
+    (version "0.5.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "dhall" version))
+        (sha256
+          (base32
+            "09wcq8xc1ynld04r2f332bx8cn7rjc4afaq8hm1dr2fc35jlpn6m"))))
+    (build-system ruby-build-system)
+    (arguments
+     ;; No test in gem archive
+     `(#:tests? #f))
+    (propagated-inputs
+      `(("ruby-base32" ,ruby-base32)
+        ("ruby-cbor" ,ruby-cbor)
+        ("ruby-citrus" ,ruby-citrus)
+        ("ruby-lazy-object" ,ruby-lazy-object)
+        ("ruby-multihashes" ,ruby-multihashes)
+        ("ruby-promise.rb" ,ruby-promise.rb)
+        ("ruby-value-semantics" ,ruby-value-semantics)))
+    (synopsis
+      "This is a Ruby implementation of the Dhall configuration language")
+    (description
+      "This is a Ruby implementation of the Dhall configuration language.
+Dhall is a powerful, but safe and non-Turing-complete configuration language.
+For more information, see: https://dhall-lang.org")
+    (home-page
+      "https://git.sr.ht/~singpolyma/dhall-ruby")
+    (license license:gpl3)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 16/27] gnu: Add ruby-money.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (13 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 15/27] gnu: Add ruby-dhall Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 17/27] gnu: Add ruby-monetize Stephen Paul Weber
                     ` (10 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

* gnu/packages/ruby.scm (ruby-money): 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 c6d006162f..5cffa281a5 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12918,3 +12918,27 @@ For more information, see: https://dhall-lang.org")
     (home-page
       "https://git.sr.ht/~singpolyma/dhall-ruby")
     (license license:gpl3)))
+
+(define-public ruby-money
+  (package
+    (name "ruby-money")
+    (version "6.16.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "money" version))
+        (sha256
+          (base32
+            "0jkmsj5ymadik7bvl670bqwmvhsdyv7hjr8gq9z293hq35gnyiyg"))))
+    (build-system ruby-build-system)
+    (arguments
+     ;; No rakefile
+     `(#:tests? #f))
+    (propagated-inputs `(("ruby-i18n" ,ruby-i18n)))
+    (synopsis
+      "Ruby Library for dealing with money and currency conversion")
+    (description
+      "This package provides a Ruby Library for dealing with money and
+currency conversion.")
+    (home-page "https://rubymoney.github.io/money/")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 17/27] gnu: Add ruby-monetize.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (14 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 16/27] gnu: Add ruby-money Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 18/27] gnu: Add ruby-money-open-exchange-rates Stephen Paul Weber
                     ` (9 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5cffa281a5..c602ad177d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12942,3 +12942,29 @@ For more information, see: https://dhall-lang.org")
 currency conversion.")
     (home-page "https://rubymoney.github.io/money/")
     (license license:expat)))
+
+(define-public ruby-monetize
+  (package
+    (name "ruby-monetize")
+    (version "1.11.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "monetize" version))
+        (sha256
+          (base32
+            "0cna2myxdbwfq0gn6k2hgrh368dq7wld3jklm96443ysykd0difn"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:test-target "spec"))
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)))
+    (propagated-inputs `(("ruby-money" ,ruby-money)))
+    (synopsis
+      "Convert various objects into Money objects")
+    (description
+      "This package provides a library for converting various objects into
+Money objects.")
+    (home-page
+      "https://github.com/RubyMoney/monetize")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 18/27] gnu: Add ruby-money-open-exchange-rates.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (15 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 17/27] gnu: Add ruby-monetize Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 19/27] gnu: Add ruby-roda Stephen Paul Weber
                     ` (8 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

* gnu/packages/ruby.scm (ruby-money-open-exchange-rates): 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 c602ad177d..79aff0a775 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12968,3 +12968,38 @@ Money objects.")
     (home-page
       "https://github.com/RubyMoney/monetize")
     (license license:expat)))
+
+(define-public ruby-money-open-exchange-rates
+  (package
+    (name "ruby-money-open-exchange-rates")
+    (version "1.4.0")
+    (source
+     (origin
+       (method git-fetch)
+       ;; Download from GitHub because the rubygems version does not contain
+       ;; Rakefile.
+       (uri (git-reference
+             (url "https://github.com/spk/money-open-exchange-rates")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "11xwqli8snr19k48yh8h77sal5vxd4snzq9gxg08v61f0574m3gw"))))
+    (build-system ruby-build-system)
+    (propagated-inputs `(("ruby-money" ,ruby-money)))
+    (native-inputs
+     `(("ruby-minitest" ,ruby-minitest)
+       ("ruby-mocha" ,ruby-mocha)
+       ("ruby-timecop" ,ruby-timecop)
+       ("ruby-webmock" ,ruby-webmock)
+       ("ruby-monetize" ,ruby-monetize)
+       ("ruby-rake" ,ruby-rake)
+       ("ruby-rubocop" ,ruby-rubocop)))
+    (synopsis
+      "Calculates the exchange rate using published rates from open-exchange-rates")
+    (description
+      "This package provides a gem that calculates the exchange rate using
+published rates from open-exchange-rates.  Compatible with the money gem.")
+    (home-page
+      "https://github.com/spk/money-open-exchange-rates")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 19/27] gnu: Add ruby-roda.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (16 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 18/27] gnu: Add ruby-money-open-exchange-rates Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 20/27] gnu: Add ruby-nori Stephen Paul Weber
                     ` (7 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 79aff0a775..c2da3bb168 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13003,3 +13003,24 @@ published rates from open-exchange-rates.  Compatible with the money gem.")
     (home-page
       "https://github.com/spk/money-open-exchange-rates")
     (license license:expat)))
+
+(define-public ruby-roda
+  (package
+    (name "ruby-roda")
+    (version "3.47.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "roda" version))
+        (sha256
+          (base32
+            "1g3zs4bk8hqii15ci1hsykcsya88vr2qv63gp1qbcx4bm14l8lkl"))))
+    (build-system ruby-build-system)
+    (arguments
+     ;; No rakefile
+     `(#:tests? #f))
+    (propagated-inputs `(("ruby-rack" ,ruby-rack)))
+    (synopsis "Routing tree web toolkit")
+    (description "Routing tree web toolkit")
+    (home-page "http://roda.jeremyevans.net")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 20/27] gnu: Add ruby-nori.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (17 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 19/27] gnu: Add ruby-roda Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 21/27] gnu: Add ruby-faraday-middleware Stephen Paul Weber
                     ` (6 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

* gnu/packages/ruby.scm (ruby-nori): 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 c2da3bb168..92146f5fcf 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13024,3 +13024,27 @@ published rates from open-exchange-rates.  Compatible with the money gem.")
     (description "Routing tree web toolkit")
     (home-page "http://roda.jeremyevans.net")
     (license license:expat)))
+
+(define-public ruby-nori
+  (package
+    (name "ruby-nori")
+    (version "2.6.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "nori" version))
+        (sha256
+          (base32
+            "066wc774a2zp4vrq3k7k8p0fhv30ymqmxma1jj7yg5735zls8agn"))))
+    (build-system ruby-build-system)
+    (arguments
+     ;; Tests require too old version of rspec
+     `(#:tests? #f))
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)
+       ("ruby-rake" ,ruby-rake)
+       ("ruby-nokogiri" ,ruby-nokogiri)))
+    (synopsis "XML to Hash translator")
+    (description "XML to Hash translator")
+    (home-page "https://github.com/savonrb/nori")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 21/27] gnu: Add ruby-faraday-middleware.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (18 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 20/27] gnu: Add ruby-nori Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 22/27] gnu: Add ruby-bandwidth-iris Stephen Paul Weber
                     ` (5 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 92146f5fcf..f7a5344c35 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13048,3 +13048,26 @@ published rates from open-exchange-rates.  Compatible with the money gem.")
     (description "XML to Hash translator")
     (home-page "https://github.com/savonrb/nori")
     (license license:expat)))
+
+(define-public ruby-faraday-middleware
+  (package
+    (name "ruby-faraday-middleware")
+    (version "1.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "faraday_middleware" version))
+        (sha256
+          (base32
+            "0kgcphf7n74l3wlcvxafcp6a4l18b1bf4qslvz5dqj6v3gc8h8j4"))))
+    (build-system ruby-build-system)
+    (arguments
+     ;; No rakefile
+     `(#:tests? #f))
+    (propagated-inputs
+      `(("ruby-faraday" ,ruby-faraday)))
+    (synopsis "Various middleware for Faraday")
+    (description "Various middleware for Faraday")
+    (home-page
+      "https://github.com/lostisland/faraday_middleware")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 22/27] gnu: Add ruby-bandwidth-iris.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (19 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 21/27] gnu: Add ruby-faraday-middleware Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 23/27] gnu: Add ruby-sentry-core Stephen Paul Weber
                     ` (4 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f7a5344c35..37e09d22e8 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13071,3 +13071,36 @@ published rates from open-exchange-rates.  Compatible with the money gem.")
     (home-page
       "https://github.com/lostisland/faraday_middleware")
     (license license:expat)))
+
+(define-public ruby-bandwidth-iris
+  (package
+    (name "ruby-bandwidth-iris")
+    (version "4.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "ruby-bandwidth-iris" version))
+        (sha256
+          (base32
+            "16bbx6y0ni3jl190ddr6xfbi2rbcikqfm2ghzr53445fpk6g12zc"))))
+    (build-system ruby-build-system)
+    (arguments
+     ; Tests don't require helper for some reason, so all fail...
+     '(#:tests? #f))
+    (propagated-inputs
+      `(("ruby-activesupport" ,ruby-activesupport)
+        ("ruby-builder" ,ruby-builder)
+        ("ruby-faraday" ,ruby-faraday)
+        ("ruby-faraday-middleware"
+         ,ruby-faraday-middleware)
+        ("ruby-nori" ,ruby-nori)))
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)
+       ("ruby-yard" ,ruby-yard)))
+    (synopsis
+      "Gem for integrating to Bandwidth's Iris API")
+    (description
+      "Gem for integrating to Bandwidth's Iris API")
+    (home-page
+      "https://github.com/Bandwidth/ruby-bandwidth-iris")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 23/27] gnu: Add ruby-sentry-core
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (20 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 22/27] gnu: Add ruby-bandwidth-iris Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 24/27] gnu: Add ruby-sentry Stephen Paul Weber
                     ` (3 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

* gnu/packages/ruby.scm (ruby-sentry-core): 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 37e09d22e8..778cd04e8a 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13104,3 +13104,30 @@ published rates from open-exchange-rates.  Compatible with the money gem.")
     (home-page
       "https://github.com/Bandwidth/ruby-bandwidth-iris")
     (license license:expat)))
+
+(define-public ruby-sentry-core
+  (package
+    (name "ruby-sentry-core")
+    (version "4.3.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "sentry-ruby-core" version))
+        (sha256
+          (base32
+            "13z35s9mflh3v775a0scsnqhscz9q46kaak38y7zmx32z7sg2a3a"))))
+    (build-system ruby-build-system)
+    (arguments
+     ; No rakefile in gem
+     '(#:tests? #f))
+    (propagated-inputs
+      `(("ruby-concurrent" ,ruby-concurrent)
+        ("ruby-faraday" ,ruby-faraday)))
+    (synopsis
+      "Client interface for the Sentry error logger (core)")
+    (description
+      "This package provides a gem that provides a client interface for the
+Sentry error logger")
+    (home-page
+      "https://github.com/getsentry/sentry-ruby")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 24/27] gnu: Add ruby-sentry.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (21 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 23/27] gnu: Add ruby-sentry-core Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 25/27] gnu: Add ruby-webrick Stephen Paul Weber
                     ` (2 subsequent siblings)
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

* gnu/packages/ruby.scm (ruby-sentry): 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 778cd04e8a..b1c4a156a2 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13131,3 +13131,31 @@ Sentry error logger")
     (home-page
       "https://github.com/getsentry/sentry-ruby")
     (license license:expat)))
+
+(define-public ruby-sentry
+  (package
+    (name "ruby-sentry")
+    (version "4.3.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "sentry-ruby" version))
+        (sha256
+          (base32
+            "101q3141xfkmh7vi8h4sjqqmxcx90xhyq51lmfnhfiwgii7cn9k8"))))
+    (build-system ruby-build-system)
+    (arguments
+     ; No rakefile in gem
+     '(#:tests? #f))
+    (propagated-inputs
+      `(("ruby-concurrent" ,ruby-concurrent)
+        ("ruby-faraday" ,ruby-faraday)
+        ("ruby-sentry-core" ,ruby-sentry-core)))
+    (synopsis
+      "Client interface for the Sentry error logger")
+    (description
+      "This package provides a gem that provides a client interface for the
+Sentry error logger")
+    (home-page
+      "https://github.com/getsentry/sentry-ruby")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 25/27] gnu: Add ruby-webrick.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (22 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 24/27] gnu: Add ruby-sentry Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 26/27] gnu: Add ruby-interception Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 27/27] gnu: Add ruby-pry-rescue Stephen Paul Weber
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

* gnu/packages/ruby.scm (ruby-webrick): 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 b1c4a156a2..f20b2d4409 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13159,3 +13159,23 @@ Sentry error logger")
     (home-page
       "https://github.com/getsentry/sentry-ruby")
     (license license:expat)))
+
+(define-public ruby-webrick
+  (package
+    (name "ruby-webrick")
+    (version "1.7.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "webrick" version))
+        (sha256
+          (base32
+            "1d4cvgmxhfczxiq5fr534lmizkhigd15bsx5719r5ds7k7ivisc7"))))
+    (build-system ruby-build-system)
+    (synopsis
+      "WEBrick is an HTTP server toolkit")
+    (description
+      "WEBrick is an HTTP server toolkit that can be configured as an
+HTTPS server, a proxy server, and a virtual-host server.")
+    (home-page "https://github.com/ruby/webrick")
+    (license license:bsd-2)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 26/27] gnu: Add ruby-interception.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (23 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 25/27] gnu: Add ruby-webrick Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  2021-09-12  3:05   ` [bug#50537] [PATCH 27/27] gnu: Add ruby-pry-rescue Stephen Paul Weber
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f20b2d4409..2a13e139e8 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13179,3 +13179,26 @@ Sentry error logger")
 HTTPS server, a proxy server, and a virtual-host server.")
     (home-page "https://github.com/ruby/webrick")
     (license license:bsd-2)))
+
+(define-public ruby-interception
+  (package
+    (name "ruby-interception")
+    (version "0.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "interception" version))
+        (sha256
+          (base32
+            "01vrkn28psdx1ysh5js3hn17nfp1nvvv46wc1pwqsakm6vb1hf55"))))
+    (build-system ruby-build-system)
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)))
+    (synopsis
+      "Provides a cross-platform ability to intercept all exceptions")
+    (description
+      "This package provides a cross-platform ability to intercept all
+exceptions as they are raised.")
+    (home-page
+      "https://github.com/ConradIrwin/interception")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

* [bug#50537] [PATCH 27/27] gnu: Add ruby-pry-rescue.
  2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
                     ` (24 preceding siblings ...)
  2021-09-12  3:05   ` [bug#50537] [PATCH 26/27] gnu: Add ruby-interception Stephen Paul Weber
@ 2021-09-12  3:05   ` Stephen Paul Weber
  25 siblings, 0 replies; 28+ messages in thread
From: Stephen Paul Weber @ 2021-09-12  3:05 UTC (permalink / raw)
  To: 50537; +Cc: Stephen Paul Weber

* gnu/packages/ruby.scm (ruby-pry-rescue): 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 2a13e139e8..bfbcd88272 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13202,3 +13202,38 @@ exceptions as they are raised.")
     (home-page
       "https://github.com/ConradIrwin/interception")
     (license license:expat)))
+
+(define-public ruby-pry-rescue
+  (package
+    (name "ruby-pry-rescue")
+    (version "1.5.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "pry-rescue" version))
+        (sha256
+          (base32
+            "1wn72y8y3d3g0ng350ld92nyjln012432q2z2iy9lhwzjc4dwi65"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'nuke-bad-test
+           (lambda _
+             (substitute* "spec/source_location_spec.rb"
+               (("time = Time.now") "skip"))
+             #t)))))
+    (propagated-inputs
+      `(("ruby-interception" ,ruby-interception)
+        ("ruby-pry" ,ruby-pry)))
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)
+       ("ruby-pry-stack-explorer" ,ruby-pry-stack-explorer)))
+    (synopsis
+      "Allows you to wrap code to open a pry session at any unhandled exceptions")
+    (description
+      "Allows you to wrap code in Pry::rescue{ } to open a pry session at any
+unhandled exceptions")
+    (home-page
+      "https://github.com/ConradIrwin/pry-rescue")
+    (license license:expat)))
-- 
2.20.1




^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2021-09-12  9:32 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-12  3:02 [bug#50537] [PATCH] Add several new ruby gems to Guix Stephen Paul Weber
2021-09-12  3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 02/27] gnu: Add ruby-niceogiri Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 03/27] gnu: Add ruby-countdownlatch Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 04/27] gnu: Add ruby-blather Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 05/27] gnu: Add ruby-braintree Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 06/27] gnu: Add ruby-value-semantics Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 07/27] gnu: Add ruby-promise.rb Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 08/27] gnu: Add ruby-multicodecs Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 09/27] gnu: Add ruby-multihashes Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 10/27] gnu: Add ruby-lazy-object Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 11/27] gnu: Add ruby-citrus Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 12/27] gnu: Add ruby-cbor Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 13/27] gnu: Add ruby-gem-release Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 14/27] gnu: Add ruby-base32 Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 15/27] gnu: Add ruby-dhall Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 16/27] gnu: Add ruby-money Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 17/27] gnu: Add ruby-monetize Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 18/27] gnu: Add ruby-money-open-exchange-rates Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 19/27] gnu: Add ruby-roda Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 20/27] gnu: Add ruby-nori Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 21/27] gnu: Add ruby-faraday-middleware Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 22/27] gnu: Add ruby-bandwidth-iris Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 23/27] gnu: Add ruby-sentry-core Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 24/27] gnu: Add ruby-sentry Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 25/27] gnu: Add ruby-webrick Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 26/27] gnu: Add ruby-interception Stephen Paul Weber
2021-09-12  3:05   ` [bug#50537] [PATCH 27/27] gnu: Add ruby-pry-rescue Stephen Paul Weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).