From: Pjotr Prins <pjotr.public12@thebird.nl>
To: Pjotr Prins <pjotr.public12@thebird.nl>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add ruby 1.8.7 package
Date: Tue, 16 Jun 2015 17:46:19 +0200 [thread overview]
Message-ID: <20150616154619.GA26621@thebird.nl> (raw)
In-Reply-To: <20150614083640.GA13180@thebird.nl>
Anything wrong with this patch?
On Sun, Jun 14, 2015 at 10:36:40AM +0200, Pjotr Prins wrote:
> From be945cf4d65ab77eb8bd7a462aa0b7d24877ba74 Mon Sep 17 00:00:00 2001
> From: pjotrp <pjotr.public01@thebird.nl>
> Date: Sat, 13 Jun 2015 13:22:10 +0200
> Subject: [PATCH] gnu: Add ruby 2.1.6
>
> * gnu/packages/ruby.scm (ruby-2.1): New variable.
> ---
> gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
> index 9943de7..f0c645e 100644
> --- a/gnu/packages/ruby.scm
> +++ b/gnu/packages/ruby.scm
> @@ -87,6 +87,34 @@ a focus on simplicity and productivity.")
> (home-page "https://ruby-lang.org")
> (license license:ruby)))
>
> +(define-public ruby-2.1
> + (package (inherit ruby)
> + (version "2.1.6")
> + (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
> + "1sbcmbhadcxk0509svwxbm2vvgmpf3xjxr1397bgp9x46nz36lkv"))))
> + (native-search-paths '())
> + (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-1.8
> (package (inherit ruby)
> (version "1.8.7-p374")
> --
> 1.7.10.4
>
--
next prev parent reply other threads:[~2015-06-16 15:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-27 5:30 [PATCH] gnu: Add ruby 1.8.7 package Pjotr Prins
2014-10-27 7:24 ` Mark H Weaver
2015-06-14 8:36 ` Pjotr Prins
2015-06-16 15:46 ` Pjotr Prins [this message]
2015-06-16 16:08 ` Thompson, David
2015-06-19 12:35 ` Thompson, David
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=20150616154619.GA26621@thebird.nl \
--to=pjotr.public12@thebird.nl \
--cc=guix-devel@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).