From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:38430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPk8-0003pj-2F for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzPk3-0000sP-7y for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzPk0-0000r0-N6 for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gzPk0-0001ma-KI for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:04 -0500 Subject: [bug#34650] [PATCH 5/7] gnu: Add ruby-thin. Resent-Message-ID: From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:33 +0100 Message-Id: <20190228174435.14499-5-mail@ambrevar.xyz> In-Reply-To: <20190228174435.14499-1-mail@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 34650@debbugs.gnu.org * 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: +@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))) -- 2.20.1