2004-02-17 21:02:31 +01:00
|
|
|
{stdenv, fetchurl, zlib ? null, zlibSupport ? true}:
|
|
|
|
|
|
|
|
assert zlibSupport -> zlib != null;
|
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2004-09-18 23:12:25 +02:00
|
|
|
name = "python-2.3.4";
|
2003-12-21 21:52:13 +01:00
|
|
|
src = fetchurl {
|
2005-02-15 15:44:19 +01:00
|
|
|
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/Python-2.3.4.tar.bz2;
|
2004-09-18 23:12:25 +02:00
|
|
|
md5 = "a2c089faa2726c142419c03472fc4063";
|
2004-02-17 21:02:31 +01:00
|
|
|
};
|
2004-09-18 23:12:25 +02:00
|
|
|
buildInputs = [
|
|
|
|
(if zlibSupport then zlib else null)
|
|
|
|
];
|
2004-03-29 19:23:01 +02:00
|
|
|
inherit zlibSupport;
|
2003-12-21 21:52:13 +01:00
|
|
|
}
|