From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fty8J-00051e-C6 for guix-patches@gnu.org; Sun, 26 Aug 2018 12:43:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fty8D-000339-Q9 for guix-patches@gnu.org; Sun, 26 Aug 2018 12:43:19 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56590) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fty89-0002y3-S8 for guix-patches@gnu.org; Sun, 26 Aug 2018 12:43:14 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fty89-0003ve-Pi for guix-patches@gnu.org; Sun, 26 Aug 2018 12:43:13 -0400 Subject: [bug#32535] [PATCH 29/41] gnu: Add ruby-http-parser.rb. Resent-Message-ID: From: Julien Lepiller Date: Sun, 26 Aug 2018 18:41:51 +0200 Message-Id: <20180826164203.27318-29-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-http-parser.rb): New variable. --- gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 12c836e98..ff04985e2 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5645,3 +5645,27 @@ It is completely written in Ruby, supports standard Markdown (with some minor modifications) and various extensions that have been made popular by the PHP @code{Markdown Extra} package and @code{Maruku}.") (license license:expat))) + +(define-public ruby-http-parser.rb + (package + (name "ruby-http-parser.rb") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "http_parser.rb" version)) + (sha256 + (base32 + "15nidriy0v5yqfjsgsra51wmknxci2n2grliz78sf9pga3n0l7gi")))) + (build-system ruby-build-system) + (arguments + ;; No tests + `(#:tests? #f)) + (native-inputs + `(("ruby-rake-compiler" ,ruby-rake-compiler) + ("ruby-rspec" ,ruby-rspec))) + (synopsis "HTTP parser un Ruby") + (description "This gem is a simple callback-based HTTP request/response +parser for writing http servers, clients and proxies.") + (home-page "http://github.com/tmm1/http_parser.rb") + (license license:expat))) -- 2.18.0