mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
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 gdbmSupport -> gdbm != null;
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
@ -8,8 +10,9 @@ let
|
||||
|
||||
buildInputs =
|
||||
optional (stdenv ? gcc && stdenv.gcc.libc != null) stdenv.gcc.libc ++
|
||||
[bzip2] ++
|
||||
optional zlibSupport zlib;
|
||||
[bzip2]
|
||||
++ optional zlibSupport zlib
|
||||
++ optional gdbmSupport gdbm;
|
||||
|
||||
in
|
||||
|
||||
|
@ -1760,7 +1760,7 @@ let pkgs = rec {
|
||||
};
|
||||
|
||||
python25 = import ../development/interpreters/python/2.5 {
|
||||
inherit fetchurl stdenv zlib bzip2;
|
||||
inherit fetchurl stdenv zlib bzip2 gdbm;
|
||||
};
|
||||
|
||||
pyrex = pyrex095;
|
||||
|
Loading…
Reference in New Issue
Block a user