summary refs log tree commit diff
path: root/pkgs/development/interpreters/python/python-2.5b1.nix
blob: 0f2851831de4827a499c8cc34a0a470dfda2dc00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{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";
}