gnu: ruby-websocket: Update to 1.2.9-1.950e416.

* gnu/packages/ruby.scm (ruby-websocket): Update to 1.2.9-1.950e416.
[native-inputs]: Add ruby-webrick.
This commit is contained in:
Christopher Baines 2023-06-21 10:38:06 +01:00
parent 830d6e342f
commit 5dae5ad0f5
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -15788,29 +15788,36 @@ HTTPS server, a proxy server, and a virtual-host server.")
(license license:bsd-2))) (license license:bsd-2)))
(define-public ruby-websocket (define-public ruby-websocket
(package (let ((commit "950e416a19a76c7e6a673a7e5baa6283476dbec1")
(name "ruby-websocket") (revision "1"))
(version "1.2.9") (package
(source (origin (name "ruby-websocket")
(method url-fetch) (version (git-version "1.2.9" revision commit))
(uri (rubygems-uri "websocket" version)) (source (origin
(sha256 (method git-fetch)
(base32 (uri (git-reference
"0dib6p55sl606qb4vpwrvj5wh881kk4aqn2zpfapf8ckx7g14jw8")))) (url "https://github.com/imanel/websocket-ruby")
(build-system ruby-build-system) (commit commit)))
(arguments (list #:test-target "spec" (sha256
#:phases #~(modify-phases %standard-phases (base32
(add-after 'unpack 'disable-rubocop "1i6r0glpxy47zdf76aqgcpjgcgydla0733hfdhp628pmrinnkgwv"))
(lambda _ (file-name (git-file-name name version))))
(substitute* "Rakefile" (build-system ruby-build-system)
(("require 'rubocop/rake_task'") "") (arguments (list #:test-target "spec"
(("RuboCop::RakeTask.new") ""))))))) #:phases #~(modify-phases %standard-phases
(native-inputs (list ruby-rspec)) (add-after 'unpack 'disable-rubocop
(synopsis "WebSocket protocol Ruby library") (lambda _
(description "This package provides a Ruby library to handle the WebSocket (substitute* "Rakefile"
(("require 'rubocop/rake_task'") "")
(("RuboCop::RakeTask.new") "")))))))
(native-inputs
(list ruby-rspec
ruby-webrick))
(synopsis "WebSocket protocol Ruby library")
(description "This package provides a Ruby library to handle the WebSocket
protocol.") protocol.")
(home-page "https://github.com/imanel/websocket-ruby") (home-page "https://github.com/imanel/websocket-ruby")
(license license:expat))) (license license:expat))))
(define-public ruby-interception (define-public ruby-interception
(package (package