[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] gnu: Add ruby 1.8.7
From: |
Pjotr Prins |
Subject: |
[PATCH] gnu: Add ruby 1.8.7 |
Date: |
Sun, 26 Oct 2014 21:31:11 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
* gnu/packages/ruby.scm: Added older Ruby 1.8.7
---
gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ac751f5..31cbe54 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -89,6 +89,33 @@ a focus on simplicity and productivity.")
(home-page "https://ruby-lang.org")
(license license:ruby)))
+(define-public ruby-1.8
+ (package (inherit ruby)
+ (name "ruby")
+ (version "1.8.7-p374")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "ftp://ftp.ruby-lang.org/pub/ruby/1.8/"
+ name "-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "1qq7khilwkayrhwmzlxk83scrmiqfi7lgsn4c63znyvz2c1lgqxl"))))
+ (arguments
+ `(#:test-target "test"
+ #:parallel-tests? #f
+ #:phases
+ (alist-cons-before
+ 'configure 'replace-bin-sh
+ (lambda _
+ (substitute* '("Makefile.in"
+ "ext/pty/pty.c"
+ "io.c"
+ "lib/mkmf.rb"
+ "process.c")
+ (("/bin/sh") (which "sh"))))
+ %standard-phases)))))
+
(define-public ruby-i18n
(package
(name "ruby-i18n")
--
1.7.10.4
- [PATCH] gnu: Add ruby 1.8.7,
Pjotr Prins <=
- Re: [PATCH] gnu: Add ruby 1.8.7, Mark H Weaver, 2014/10/26
- Re: [PATCH] gnu: Add ruby 1.8.7, Mark H Weaver, 2014/10/26
- Re: [PATCH] gnu: Add ruby 1.8.7, Pjotr Prins, 2014/10/26
- Re: [PATCH] gnu: Add ruby 1.8.7, Mark H Weaver, 2014/10/27
- ‘strip’ phase, Ludovic Courtès, 2014/10/27
- Re: ‘strip’ phase, Mark H Weaver, 2014/10/27