2004-02-17 20:02:31 +00:00
|
|
|
{stdenv, fetchurl, zlib ? null, zlibSupport ? true}:
|
|
|
|
|
|
|
|
assert zlibSupport -> zlib != null;
|
|
|
|
|
2004-03-29 17:23:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2005-10-11 14:29:30 +00:00
|
|
|
name = "python-2.4.2";
|
2003-12-21 20:52:13 +00:00
|
|
|
src = fetchurl {
|
2005-10-11 14:29:30 +00:00
|
|
|
url = http://www.python.org/ftp/python/2.4.2/Python-2.4.2.tar.bz2;
|
|
|
|
md5 = "98db1465629693fc434d4dc52db93838";
|
2004-02-17 20:02:31 +00:00
|
|
|
};
|
2004-09-18 21:12:25 +00:00
|
|
|
buildInputs = [
|
|
|
|
(if zlibSupport then zlib else null)
|
|
|
|
];
|
2004-03-29 17:23:01 +00:00
|
|
|
inherit zlibSupport;
|
2005-10-26 23:37:53 +00:00
|
|
|
configureFlags = "--enable-shared";
|
2003-12-21 20:52:13 +00:00
|
|
|
}
|