From patchwork Thu Feb 28 17:44:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 1261 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E565D16CCC; Thu, 28 Feb 2019 17:45:28 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 978ED16CC9 for ; Thu, 28 Feb 2019 17:45:28 +0000 (GMT) Received: from localhost ([127.0.0.1]:43859 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPkO-000427-4p for patchwork@mira.cbaines.net; Thu, 28 Feb 2019 12:45:28 -0500 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 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 5/7] gnu: Add ruby-thin. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513758826766 (code B ref 34650); Thu, 28 Feb 2019 17:45:04 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:44:42 +0000 Received: from localhost ([127.0.0.1]:55469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPje-0001ky-Cy for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:42 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:51403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPja-0001jm-Pd for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:40 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 189C110000E for <34650@debbugs.gnu.org>; Thu, 28 Feb 2019 17:44:36 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:33 +0100 Message-Id: <20190228174435.14499-5-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228174435.14499-1-mail@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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)))