From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:49128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gniyX-0002sg-8a for guix-patches@gnu.org; Sun, 27 Jan 2019 06:51:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnixC-00061l-9d for guix-patches@gnu.org; Sun, 27 Jan 2019 06:50:26 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47772) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gniwy-0005yQ-5v for guix-patches@gnu.org; Sun, 27 Jan 2019 06:50:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gniwy-0000DC-25 for guix-patches@gnu.org; Sun, 27 Jan 2019 06:50:08 -0500 Subject: [bug#34217] [PATCH 07/11] gnu: Add ruby-backports. Resent-Message-ID: From: Christopher Baines Date: Sun, 27 Jan 2019 11:49:52 +0000 Message-Id: <20190127114956.26570-7-mail@cbaines.net> In-Reply-To: <20190127114956.26570-1-mail@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> 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: 34217@debbugs.gnu.org * gnu/packages/ruby.scm (ruby-backports): New variable. --- gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 5a9a9a7c6d..115e132b95 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1350,6 +1350,31 @@ User Agents.") (home-page "https://github.com/gshutler/useragent") (license license:expat))) +(define-public ruby-backports + (package + (name "ruby-backports") + (version "3.11.4") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "backports" version)) + (sha256 + (base32 + "1hshjxww2h7s0dk57njrygq4zpp0nlqrjfya7zwm27iq3rhc3y8g")))) + (build-system ruby-build-system) + (arguments + '(;; TODO: This should be default, but there is one test failure + #:test-target "all_spec")) + (native-inputs + `(("ruby-mspec" ,ruby-mspec) + ("ruby-activesupport" ,ruby-activesupport))) + (synopsis "Backports of the features in newer Ruby versions") + (description + "Backports enables more compatibility across Ruby versions by providing +backports of some features.") + (home-page "https://github.com/marcandre/backports") + (license license:expat))) + (define-public ruby-bacon (package (name "ruby-bacon") -- 2.20.1