nixpkgs/pkgs/development/interpreters/python/default.nix
Eelco Dolstra 3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00

17 lines
401 B
Nix

{stdenv, fetchurl, zlib ? null, zlibSupport ? true}:
assert zlibSupport -> zlib != null;
stdenv.mkDerivation {
name = "python-2.4.2";
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/Python-2.4.2.tar.bz2;
md5 = "98db1465629693fc434d4dc52db93838";
};
buildInputs = [
(if zlibSupport then zlib else null)
];
inherit zlibSupport;
configureFlags = "--enable-shared";
}