3
0
Fork 0
forked from mirrors/nixpkgs

Update ruby/rubygems

svn path=/nixpkgs/trunk/; revision=32366
This commit is contained in:
Shea Levy 2012-02-17 20:33:15 +00:00
parent 453768b1cc
commit 2fb0d1c6c7
2 changed files with 5 additions and 5 deletions

View file

@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
name = "ruby-${version}"; name = "ruby-${version}";
src = fetchurl { src = fetchurl {
url = "ftp://ftp.ruby-lang.org/pub/ruby/1.9/${name}.tar.gz"; url = "ftp://ftp.ruby-lang.org/pub/ruby/1.9/${name}.tar.bz2";
sha256 = "0km3ryc0cs578982x6c3y3n3xr920grnpncmznb447snwd10149v"; sha256 = "09jmxz3lqsi5097233hc1wjnzg6z5f4y7kmlkqhskdaj6125jyn6";
}; };
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds. # Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
passthru = rec { passthru = rec {
majorVersion = "1.9"; majorVersion = "1.9";
minorVersion = "3"; minorVersion = "3";
patchLevel = "0"; patchLevel = "125";
libPath = "lib/ruby/${majorVersion}"; libPath = "lib/ruby/${majorVersion}";
gemPath = "lib/ruby/gems/${majorVersion}"; gemPath = "lib/ruby/gems/${majorVersion}";
}; };

View file

@ -1,10 +1,10 @@
args : with args; args : with args;
rec { rec {
version = "1.8.15"; version = "1.8.17";
src = fetchurl { src = fetchurl {
url = "http://production.cf.rubygems.org/rubygems/${name}.tgz"; url = "http://production.cf.rubygems.org/rubygems/${name}.tgz";
sha256 = "0crfdaxpcv13x40mb0ccm5n0r3dknw7w7xl87icj99kyqmfx8k51"; sha256 = "068sr55r8wiw55bpf93pp07871cbqhxk9cxma6arhd04j7n8ppph";
}; };
buildInputs = [ruby makeWrapper]; buildInputs = [ruby makeWrapper];