about summary refs log tree commit diff
path: root/pkgs/development/interpreters/python/default.nix
blob: 9ec6d468ecd5287023867fc09e7adf74f8d6a38e (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.4.3";
  src = fetchurl {
    url = http://nix.cs.uu.nl/dist/tarballs/Python-2.4.3.tar.bz2;
    md5 = "141c683447d5e76be1d2bd4829574f02";
  };
  buildInputs = [
    (if zlibSupport then zlib else null)
  ];
  inherit zlibSupport;
  configureFlags = "--enable-shared";
}