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