diff options
author | Alex Vong <alexvong1995@gmail.com> | 2018-12-22 07:30:41 +0800 |
---|---|---|
committer | Alex Vong <alexvong1995@gmail.com> | 2019-01-02 15:54:48 +0800 |
commit | 8ef06557473e4394c2d0d9d54b45c43456419b66 (patch) | |
tree | b2df7e75ebac85cce06aae9e6facac174b0fef05 | |
parent | 059954fa018584ac0d3b2fda35b0b283c4c77098 (diff) | |
download | guix-8ef06557473e4394c2d0d9d54b45c43456419b66.tar guix-8ef06557473e4394c2d0d9d54b45c43456419b66.tar.gz |
gnu: ruby: Remove versions 1.8, 2.1 and 2.2.
Remove ruby versions which have reached EOL.
See <https://lists.gnu.org/archive/html/guix-devel/2018-11/msg00421.html>.
* gnu/packages/ruby.scm (ruby-1.8, ruby-2.1, ruby-2.2): Remove variables.
-rw-r--r-- | gnu/packages/ruby.scm | 69 |
1 files changed, 1 insertions, 68 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 343e0e872d..3a17cd2568 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com> +;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -127,74 +128,6 @@ a focus on simplicity and productivity.") (delete-file-recursively "ext/fiddle/libffi-3.2.1") #t)))))) -(define-public ruby-2.2 - (package (inherit ruby) - (version "2.2.10") - (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 - "0l5nk9mc0q4769d2i9d9y1izk0pk0lms2bl8s3lclv36wsvvqxxz")))))) - -(define-public ruby-2.1 - (package (inherit ruby) - (version "2.1.10") - (source - (origin - (method url-fetch) - (uri (string-append "http://cache.ruby-lang.org/pub/ruby/" - (version-major+minor version) - "/ruby-" version ".tar.bz2")) - (sha256 - (base32 - "1wglbd599mlwxfcb2xgqcxi2shr363pjn5dpbv11m04si9bpaim7")))) - (arguments - `(#:test-target "test" - #:parallel-tests? #f - #:phases - (modify-phases %standard-phases - (add-before 'configure 'replace-bin-sh - (lambda _ - (substitute* '("Makefile.in" - "ext/pty/pty.c" - "io.c" - "lib/mkmf.rb" - "process.c") - (("/bin/sh") (which "sh"))) - #t))))))) - -(define-public ruby-1.8 - (package (inherit ruby) - (version "1.8.7-p374") - (source - (origin - (method url-fetch) - (uri (string-append "http://cache.ruby-lang.org/pub/ruby/" - (version-major+minor version) - "/ruby-" version ".tar.bz2")) - (sha256 - (base32 - "1qq7khilwkayrhwmzlxk83scrmiqfi7lgsn4c63znyvz2c1lgqxl")))) - (native-search-paths '()) - (arguments - `(#:test-target "test" - #:parallel-tests? #f - #:phases - (modify-phases %standard-phases - (add-before 'configure 'replace-bin-sh - (lambda _ - (substitute* '("Makefile.in" - "ext/pty/pty.c" - "io.c" - "lib/mkmf.rb" - "process.c") - (("/bin/sh") (which "sh"))) - #t))))))) - (define-public ruby-highline (package (name "ruby-highline") |