[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
139/229: gnu: Add ruby-websocket-native.
From: |
guix-commits |
Subject: |
139/229: gnu: Add ruby-websocket-native. |
Date: |
Tue, 28 Mar 2023 22:29:14 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 486cbf33785159b132a0e6693b061e790fb42648
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Mar 9 14:30:51 2023 -0500
gnu: Add ruby-websocket-native.
* gnu/packages/ruby.scm (ruby-websocket-native): New variable.
---
gnu/packages/ruby.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 57e5e3d575..943c31e4c5 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -10169,6 +10169,35 @@ checking for the right Ruby version in software.")
(home-page "https://github.com/janlelis/ruby_version")
(license license:expat)))
+(define-public ruby-websocket-native
+ (package
+ (name "ruby-websocket-native")
+ (version "1.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "websocket-native" version))
+ (sha256
+ (base32
+ "1kgvd3gyzh7hk0ddzn85jrs4csxm54qnvla95ldyn6rzgfbjchdn"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list #:test-target "spec"
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'check 'disable-problematic-tests
+ (lambda _
+ (substitute* "spec/websocket_spec.rb"
+ (("it \"should have mask_native defined\"" all)
+ (string-append "x" all)))))
+ (add-after 'build 'compile
+ (lambda _
+ (invoke "rake" "compile"))))))
+ (native-inputs (list ruby-rake-compiler ruby-rspec))
+ (synopsis "Native Ruby extension for the WebSocket gem")
+ (description "This package provides a native extension that can increase
+performance by about 25% compared to the pure Ruby WebSocket implementation.")
+ (home-page "https://github.com/imanel/websocket-ruby-native")
+ (license license:expat)))
+
(define-public ruby-websocket-driver
(package
(name "ruby-websocket-driver")
- 168/229: gnu: Add ruby-turbo-rails., (continued)
- 168/229: gnu: Add ruby-turbo-rails., guix-commits, 2023/03/28
- 181/229: gnu: ruby-protobuf: Update to 3.10.3., guix-commits, 2023/03/28
- 185/229: gnu: ruby-web-console: Update to 4.2.0., guix-commits, 2023/03/28
- 186/229: gnu: Add ruby-minitest-profile., guix-commits, 2023/03/28
- 197/229: gnu: jekyll: Update to 4.3.2 and enable tests., guix-commits, 2023/03/28
- 199/229: gnu: Add ruby-silent-stream., guix-commits, 2023/03/28
- 202/229: gnu: Add ruby-rspec-block-is-expected., guix-commits, 2023/03/28
- 212/229: gnu: Add ruby-sassc-rails., guix-commits, 2023/03/28
- 216/229: gnu: ruby-autoprefixer-rails: Update to 10.4.13.0., guix-commits, 2023/03/28
- 225/229: gnu: ruby-mustermann: Update to 3.0.0., guix-commits, 2023/03/28
- 139/229: gnu: Add ruby-websocket-native.,
guix-commits <=
- 161/229: gnu: Add ruby-bootsnap., guix-commits, 2023/03/28
- 170/229: gnu: ruby-spring: Update to 4.1.1., guix-commits, 2023/03/28
- 187/229: gnu: ruby-terminal-table: Update to 3.0.2., guix-commits, 2023/03/28
- 193/229: gnu: ruby-shoulda: Update to 4.0.0., guix-commits, 2023/03/28
- 195/229: gnu: ruby-unf-ext: Update to 0.0.8.2., guix-commits, 2023/03/28
- 196/229: gnu: jekyll: Use gexps and remove input labels., guix-commits, 2023/03/28
- 203/229: gnu: Add ruby-version-gem., guix-commits, 2023/03/28
- 207/229: gnu: ruby-omniauth: Update to 2.1.1., guix-commits, 2023/03/28
- 209/229: gnu: ruby-cuke-modeler: Update to 3.19.0 and enable tests., guix-commits, 2023/03/28
- 191/229: gnu: ruby-shoulda-matchers: Update to 5.3.0., guix-commits, 2023/03/28