From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: [PATCH] gnu: Add older ruby 1.8.7 Date: Sat, 25 Oct 2014 20:17:58 -0400 Message-ID: <87ppdfr8eh.fsf@yeeloong.lan> References: <20141025225814.GA17304@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiBXz-0001IV-8c for guix-devel@gnu.org; Sat, 25 Oct 2014 20:19:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XiBXr-0001zW-8a for guix-devel@gnu.org; Sat, 25 Oct 2014 20:19:03 -0400 Received: from world.peace.net ([96.39.62.75]:48142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiBXr-0001zM-5M for guix-devel@gnu.org; Sat, 25 Oct 2014 20:18:55 -0400 In-Reply-To: <20141025225814.GA17304@thebird.nl> (Pjotr Prins's message of "Sun, 26 Oct 2014 00:58:14 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Pjotr Prins Cc: guix-devel@gnu.org Pjotr Prins writes: > * 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..0b10b87 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") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "ftp://ftp.ruby-lang.org/pub/ruby/1.8/" > + name "-" version "-p374.tar.bz2")) What's that "-p374" in the file name? If it's a patch level, then I think it should be part of the version string. Mark