From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftyXF-000073-9U for guix-patches@gnu.org; Sun, 26 Aug 2018 13:09:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftyXB-0002d0-4j for guix-patches@gnu.org; Sun, 26 Aug 2018 13:09:09 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ftyX9-0002bf-IA for guix-patches@gnu.org; Sun, 26 Aug 2018 13:09:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ftyX9-0004bm-9y for guix-patches@gnu.org; Sun, 26 Aug 2018 13:09:03 -0400 Subject: [bug#32535] [PATCH 30/41] gnu: Add ruby-em-websocket. Resent-Message-ID: From: Julien Lepiller Date: Sun, 26 Aug 2018 18:41:52 +0200 Message-Id: <20180826164203.27318-30-julien@lepiller.eu> In-Reply-To: <20180826164203.27318-1-julien@lepiller.eu> References: <20180826183301.2d915be5@lepiller.eu> <20180826164203.27318-1-julien@lepiller.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32535@debbugs.gnu.org * gnu/packages/ruby.scm (ruby-em-websocket): New variable. --- gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index ff04985e2..1271e0075 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5669,3 +5669,30 @@ modifications) and various extensions that have been made popular by the PHP parser for writing http servers, clients and proxies.") (home-page "http://github.com/tmm1/http_parser.rb") (license license:expat))) + +(define-public ruby-em-websocket + (package + (name "ruby-em-websocket") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "em-websocket" version)) + (sha256 + (base32 + "1bsw8vjz0z267j40nhbmrvfz7dvacq4p0pagvyp17jif6mj6v7n3")))) + (build-system ruby-build-system) + (arguments + ;; No tests + `(#:tests? #f)) + (propagated-inputs + `(("ruby-eventmachine" ,ruby-eventmachine) + ("ruby-http-parser.rb" ,ruby-http-parser.rb))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec))) + (synopsis "EventMachine based WebSocket server") + (description "Em-websocket is an EventMachine based WebSocket server +implementation.") + (home-page "http://github.com/igrigorik/em-websocket") + (license #f))) -- 2.18.0