summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-09 14:39:47 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-28 22:22:33 -0400
commit7577fca3c09804d888094d709c82ecd1cc07bbee (patch)
tree52629cdbc3a82cd24a9f683e8cddb4cf458b64af
parent0e74687ba4f950911eabb5de2f202e5a0902e297 (diff)
downloadguix-7577fca3c09804d888094d709c82ecd1cc07bbee.tar.gz
gnu: Add ruby-websocket-eventmachine-server.
* gnu/packages/ruby.scm (ruby-websocket-eventmachine-server): New variable.
-rw-r--r--gnu/packages/ruby.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f34ec9cda0..5a3f4cf252 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -10190,6 +10190,25 @@ server.")
     (home-page "https://github.com/imanel/websocket-eventmachine-base")
     (license license:expat)))
 
+(define-public ruby-websocket-eventmachine-server
+  (package
+    (name "ruby-websocket-eventmachine-server")
+    (version "1.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "websocket-eventmachine-server" version))
+              (sha256
+               (base32
+                "0iqpzc8s028nck1flqaj784gvyn64wy1h3svpa4y2847wklg8sms"))))
+    (build-system ruby-build-system)
+    ;; TODO: The test suite requires Autobahn, not yet packaged in Guix.
+    (arguments (list #:tests? #f))
+    (propagated-inputs (list ruby-websocket-eventmachine-base))
+    (synopsis "WebSocket server for Ruby")
+    (description "This package provides a WebSocket server for Ruby.")
+    (home-page "https://github.com/imanel/websocket-eventmachine-server")
+    (license license:expat)))
+
 (define-public ruby-websocket-native
   (package
     (name "ruby-websocket-native")