Python 2.5: Add GDBM support.
svn path=/nixpkgs/trunk/; revision=11485
This commit is contained in:
parent
1f161a2789
commit
d0d98958d2
@ -1,6 +1,8 @@
|
|||||||
{stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2}:
|
{stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2,
|
||||||
|
gdbmSupport ? true, gdbm ? null}:
|
||||||
|
|
||||||
assert zlibSupport -> zlib != null;
|
assert zlibSupport -> zlib != null;
|
||||||
|
assert gdbmSupport -> gdbm != null;
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
@ -8,8 +10,9 @@ let
|
|||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
optional (stdenv ? gcc && stdenv.gcc.libc != null) stdenv.gcc.libc ++
|
optional (stdenv ? gcc && stdenv.gcc.libc != null) stdenv.gcc.libc ++
|
||||||
[bzip2] ++
|
[bzip2]
|
||||||
optional zlibSupport zlib;
|
++ optional zlibSupport zlib
|
||||||
|
++ optional gdbmSupport gdbm;
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
|
@ -1760,7 +1760,7 @@ let pkgs = rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
python25 = import ../development/interpreters/python/2.5 {
|
python25 = import ../development/interpreters/python/2.5 {
|
||||||
inherit fetchurl stdenv zlib bzip2;
|
inherit fetchurl stdenv zlib bzip2 gdbm;
|
||||||
};
|
};
|
||||||
|
|
||||||
pyrex = pyrex095;
|
pyrex = pyrex095;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user