From: Christopher Baines <mail@cbaines.net>
To: 40378@debbugs.gnu.org
Subject: [bug#40378] [PATCH 3/3] gnu: ruby: Replace 2.5.3 with 2.5.8.
Date: Wed, 1 Apr 2020 19:56:44 +0100 [thread overview]
Message-ID: <20200401185644.6506-3-mail@cbaines.net> (raw)
In-Reply-To: <20200401185644.6506-1-mail@cbaines.net>
* gnu/packages/ruby.scm (ruby/fixed): New variable.
(ruby)[replacement]: Set to ruby/fixed.
---
gnu/packages/ruby.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0383c898d7..2468d0a8f2 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -78,6 +78,7 @@
(package
(name "ruby")
(version "2.5.3")
+ (replacement ruby/fixed)
(source
(origin
(method url-fetch)
@@ -128,6 +129,25 @@ a focus on simplicity and productivity.")
(home-page "https://www.ruby-lang.org")
(license license:ruby)))
+(define ruby/fixed
+ (package
+ (inherit ruby)
+ (version "2.5.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
+ (version-major+minor version)
+ "/ruby-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0vad5ah1lrdhxsyqr5iqc8c7r7qczpmm76cz8rsf4crimpzv5483"))
+ (modules '((guix build utils)))
+ (snippet `(begin
+ ;; Remove bundled libffi
+ (delete-file-recursively "ext/fiddle/libffi-3.2.1")
+ #t))))))
+
(define-public ruby-2.4
(package
(inherit ruby)
--
2.26.0
next prev parent reply other threads:[~2020-04-01 18:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-01 18:44 [bug#40378] [PATCH 0/3] Update existing Ruby versions Christopher Baines
2020-04-01 18:56 ` [bug#40378] [PATCH 1/3] gnu: ruby: Remove ruby-2.3 Christopher Baines
2020-04-01 18:56 ` [bug#40378] [PATCH 2/3] gnu: ruby-2.4: Update to 2.4.10 Christopher Baines
2020-04-01 18:56 ` Christopher Baines [this message]
2020-05-13 16:44 ` bug#40378: [PATCH 0/3] Update existing Ruby versions Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200401185644.6506-3-mail@cbaines.net \
--to=mail@cbaines.net \
--cc=40378@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).