2008-04-11 10:21:27 +01:00
|
|
|
{stdenv, fetchurl, ncurses, readline
|
|
|
|
, lib
|
|
|
|
, zlib ? null
|
|
|
|
, openssl ? null
|
|
|
|
}:
|
2005-05-05 00:36:28 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-06-18 11:23:09 +01:00
|
|
|
name = "ruby-1.8.6";
|
2005-05-05 00:36:28 +01:00
|
|
|
src = fetchurl {
|
2007-06-18 11:23:09 +01:00
|
|
|
url = ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.6.tar.gz;
|
|
|
|
md5 = "23d2494aa94e7ae1ecbbb8c5e1507683";
|
2005-05-05 00:36:28 +01:00
|
|
|
};
|
2006-05-11 01:16:23 +01:00
|
|
|
|
2008-04-11 10:21:27 +01:00
|
|
|
buildInputs = [ncurses readline]
|
|
|
|
++(lib.optional (zlib != null) zlib)
|
|
|
|
++(lib.optional (openssl != null) openssl)
|
|
|
|
;
|
2005-05-05 00:36:28 +01:00
|
|
|
}
|