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