unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#45434] [PATCH 0/1] Merry Ruby release day!
@ 2020-12-25 17:53 Ryan Prior via Guix-patches via
  2020-12-25 17:57 ` [bug#45434] [PATCH 1/1] gnu: ruby: Add 3.0 Ryan Prior via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Ryan Prior via Guix-patches via @ 2020-12-25 17:53 UTC (permalink / raw)
  To: 45434

Hi Guix! Hope you're all staying warm and jolly. Ruby made its big 3.0 release today, and as a special gift to us, it inherits the exact same build system from Ruby 2.7. Enjoy the weekend and happy hacking!

Ryan Prior (1):
  gnu: ruby: Add 3.0.

 gnu/packages/ruby.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

-- 
2.29.2






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#45434] [PATCH 1/1] gnu: ruby: Add 3.0.
  2020-12-25 17:53 [bug#45434] [PATCH 0/1] Merry Ruby release day! Ryan Prior via Guix-patches via
@ 2020-12-25 17:57 ` Ryan Prior via Guix-patches via
  2020-12-29 18:53   ` bug#45434: " Christopher Baines
  0 siblings, 1 reply; 3+ messages in thread
From: Ryan Prior via Guix-patches via @ 2020-12-25 17:57 UTC (permalink / raw)
  To: 45434

* gnu/packages/ruby.scm (ruby): Add 3.0.
---
 gnu/packages/ruby.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1befecfa12..971b2b2d77 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -187,6 +187,20 @@ a focus on simplicity and productivity.")
     (native-inputs
      `(("autoconf" ,autoconf)))))
 
+(define-public ruby-3.0
+  (package
+    (inherit ruby-2.7)
+    (version "3.0.0")
+    (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
+         "1cbcixwnr0y8q0lg67wjgplp06kjd6p6hjjh680csv3v0bpsxgv8"))))))
+
 (define-public ruby-2.5
   (package
     (inherit ruby)
-- 
2.29.2






^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#45434: [PATCH 1/1] gnu: ruby: Add 3.0.
  2020-12-25 17:57 ` [bug#45434] [PATCH 1/1] gnu: ruby: Add 3.0 Ryan Prior via Guix-patches via
@ 2020-12-29 18:53   ` Christopher Baines
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2020-12-29 18:53 UTC (permalink / raw)
  To: Ryan Prior; +Cc: 45434-done

[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]


Ryan Prior via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/ruby.scm (ruby): Add 3.0.
> ---
>  gnu/packages/ruby.scm | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>
> diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
> index 1befecfa12..971b2b2d77 100644
> --- a/gnu/packages/ruby.scm
> +++ b/gnu/packages/ruby.scm
> @@ -187,6 +187,20 @@ a focus on simplicity and productivity.")
>      (native-inputs
>       `(("autoconf" ,autoconf)))))
>  
> +(define-public ruby-3.0
> +  (package
> +    (inherit ruby-2.7)
> +    (version "3.0.0")
> +    (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
> +         "1cbcixwnr0y8q0lg67wjgplp06kjd6p6hjjh680csv3v0bpsxgv8"))))))
> +
>  (define-public ruby-2.5
>    (package
>      (inherit ruby)

Thanks, I've tweaked the commit message, and pushed to master as
03c51c04430405fe405a3640e6a4d1d248b702fc.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-29 18:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-25 17:53 [bug#45434] [PATCH 0/1] Merry Ruby release day! Ryan Prior via Guix-patches via
2020-12-25 17:57 ` [bug#45434] [PATCH 1/1] gnu: ruby: Add 3.0 Ryan Prior via Guix-patches via
2020-12-29 18:53   ` bug#45434: " Christopher Baines

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).