From 6e87695ba45eb68edbc4026240c10c8b819fe18f Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:41:04 +0100 Subject: gnu: Add ruby-thin. * gnu/packages/ruby.scm (ruby-thin): New variable. --- gnu/packages/ruby.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu') 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 @@ (define-public ruby-sinatra 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))) -- cgit v1.2.3