aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2019-02-28 18:41:04 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2019-03-05 11:22:34 +0100
commit6e87695ba45eb68edbc4026240c10c8b819fe18f (patch)
treeca3a5337828793da915a4f4fa87383b6d2e2795f
parent3bb094e282e58becdbe16a7a3b9af9011eb12d3c (diff)
downloadguix-6e87695ba45eb68edbc4026240c10c8b819fe18f.tar
guix-6e87695ba45eb68edbc4026240c10c8b819fe18f.tar.gz
gnu: Add ruby-thin.
* gnu/packages/ruby.scm (ruby-thin): New variable.
-rw-r--r--gnu/packages/ruby.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 61c4fd097d..2902a67878 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8426,3 +8426,33 @@ 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
+ ;; No 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:
+@itemize
+@item the Mongrel parser,
+@item Event Machine, a network I/O library with high scalability, performance
+and stability,
+@item Rack, a minimal interface between webservers and Ruby frameworks.
+@end itemize\n")
+ (home-page "http://code.macournoyer.com/thin/")
+ (license license:ruby)))