nixpkgs/pkgs/development/interpreters/python/python-2.5b1.nix
Armijn Hemel a5615b51da python 2.5 beta 1
svn path=/nixpkgs/trunk/; revision=5580
2006-07-04 19:20:36 +00:00

17 lines
400 B
Nix

{stdenv, fetchurl, zlib ? null, zlibSupport ? true}:
assert zlibSupport -> zlib != null;
stdenv.mkDerivation {
name = "python-2.5b1";
src = fetchurl {
url = http://www.python.org/ftp/python/2.5/Python-2.5b1.tgz;
md5 = "957c8d24d2ba8d4ba028c7f348ac5c86";
};
buildInputs = [
(if zlibSupport then zlib else null)
];
inherit zlibSupport;
configureFlags = "--enable-shared";
}