Subject: [PATCH 29/41] gnu: Add ruby-http-parser.rb.

From: Julien Lepiller <[email-masked]>
Date: Sun, 26 Aug 2018 18:41:51 +0200

* 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