diff options
author | Christopher Baines <mail@cbaines.net> | 2019-01-28 16:16:27 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-02-14 21:38:02 +0000 |
commit | 937c8862f493aea2ae167851ecc22b03fd0d1d04 (patch) | |
tree | 17eb7fecfe7ef6e3a6fbd753ca6171f13cfabd6e | |
parent | a058cbfd570a1a41bae0a50c2bf1d414512bd9e4 (diff) | |
download | patches-937c8862f493aea2ae167851ecc22b03fd0d1d04.tar patches-937c8862f493aea2ae167851ecc22b03fd0d1d04.tar.gz |
gnu: Add ruby-actioncable.
* gnu/packages/rails.scm (ruby-actioncable): New variable.
-rw-r--r-- | gnu/packages/rails.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index ac36cda8bb..e793a2e8e2 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -254,3 +254,29 @@ Ruby.") applications. These work with any Rack-compatible server.") (home-page "https://rubyonrails.org/") (license license:expat))) + +(define-public ruby-actioncable + (package + (name "ruby-actioncable") + (version "5.2.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "actioncable" version)) + (sha256 + (base32 + "0826k5ch0l03f9yrkxy69aiv039z4qi00lnahw2rzywd2iz6r68x")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("ruby-actionpack" ,ruby-actionpack) + ("ruby-nio4r" ,ruby-nio4r) + ("ruby-websocket-driver" ,ruby-websocket-driver))) + (synopsis "Integrate integrates WebSockets with Rails applications") + (description + "Action Cable integrates WebSockets with Rails applications. Through +WebSockets it allows for real-time features in web applications.") + (home-page "https://rubyonrails.org/") + (license license:expat))) |