guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#34650] [PATCH 5/7] gnu: Add ruby-thin.


From: Pierre Neidhardt
Subject: [bug#34650] [PATCH 5/7] gnu: Add ruby-thin.
Date: Thu, 28 Feb 2019 18:44:33 +0100

* gnu/packages/ruby.scm (ruby-thin): New variable.
---
 gnu/packages/ruby.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 78d113af7..9d3c4b246 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7754,3 +7754,32 @@ characteristics.")
 minimal effort.")
     (home-page "http://sinatrarb.com/";)
     (license license:expat)))
+
+(define-public ruby-thin
+  (package
+    (name "ruby-thin")
+    (version "1.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "thin" version))
+       (sha256
+        (base32
+         "0nagbf9pwy1vg09k6j4xqhbjjzrg5dwzvkn4ffvlj76fsn6vv61f"))))
+    (build-system ruby-build-system)
+    (arguments
+     ;; TODO: Fix tests.
+     `(#:tests? #f))
+    (propagated-inputs
+     `(("ruby-daemons" ,ruby-daemons)
+       ("ruby-eventmachine" ,ruby-eventmachine)
+       ("ruby-rack" ,ruby-rack)))
+    (synopsis "Thin and fast web server for Ruby")
+    (description "Thin is a Ruby web server that glues together 3 Ruby 
libraries:
address@hidden
address@hidden the Mongrel parser,
address@hidden Event Machine, a network I/O library with high scalability, 
performance and stability
address@hidden Rack, a minimal interface between webservers and Ruby frameworks
address@hidden itemize\n")
+    (home-page "http://code.macournoyer.com/thin/";)
+    (license license:ruby)))
-- 
2.20.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]