From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:38417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzPk4-0003hu-Db for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzPk3-0000sg-CX for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41933) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzPk1-0000rJ-6q for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gzPk1-0001mi-3Y for guix-patches@gnu.org; Thu, 28 Feb 2019 12:45:05 -0500 Subject: [bug#34650] [PATCH 6/7] gnu: Add ruby-skinny. Resent-Message-ID: From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:34 +0100 Message-Id: <20190228174435.14499-6-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-skinny): New variable. --- gnu/packages/ruby.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 9d3c4b246..8cb170e17 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7783,3 +7783,34 @@ minimal effort.") @end itemize\n") (home-page "http://code.macournoyer.com/thin/") (license license:ruby))) + +(define-public ruby-skinny + (package + (name "ruby-skinny") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "skinny" version)) + (sha256 + (base32 + "1y3yvx88ylgz4d2s1wskjk5rkmrcr15q3ibzp1q88qwzr5y493a9")))) + (build-system ruby-build-system) + (arguments + ;; TODO: Grab from GitHub to get tests? + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'build 'patch-gemspec + (lambda _ + (substitute* ".gemspec" + ((".freeze, \\[\\\"~> 1.0.0\"") + ", [\">= 1.0.0\"") + ((".freeze, \\[\\\"< 1.7\", ") ", ["))))))) + (propagated-inputs + `(("ruby-eventmachine" ,ruby-eventmachine) + ("ruby-thin" ,ruby-thin))) + (synopsis "Simple, upgradable WebSockets for Ruby Thin") + (description "Simple, upgradable WebSockets for Ruby Thin.") + (home-page "https://github.com/sj26/skinny") + (license license:expat))) -- 2.20.1