Subject: [PATCH 01/27] gnu: Add ruby-sucker-punch

From: Stephen Paul Weber <[email-masked]>
Date: Sat, 11 Sep 2021 22:05:06 -0500

* 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