diff mbox series

[bug#50537,01/27] gnu: Add ruby-sucker-punch

Message ID 20210912030532.7439-1-singpolyma@singpolyma.net
State New
Headers show
Series [bug#50537,01/27] gnu: Add ruby-sucker-punch | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue
cbaines/applying patch success View Laminar job
cbaines/issue success View issue
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Stephen Paul Weber Sept. 12, 2021, 3:05 a.m. UTC
* gnu/packages/ruby.scm (ruby-sucker-punch): New variable.
---
 gnu/packages/ruby.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
diff mbox series

Patch

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)))