diff mbox series

[bug#50537,v2,04/27] gnu: Add ruby-blather.

Message ID 20220427184633.94169-4-singpolyma@singpolyma.net
State Accepted
Headers show
Series [bug#50537,v2,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

Commit Message

Stephen Paul Weber April 27, 2022, 6:46 p.m. UTC
* gnu/packages/ruby.scm (ruby-blather): New variable.
---
 gnu/packages/ruby.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 70f3477ccb..34d5a22908 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12305,3 +12305,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)))