mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
Added option for SQLite support to Python2.5
svn path=/nixpkgs/trunk/; revision=11754
This commit is contained in:
parent
03f51200c2
commit
26bdb2a619
|
@ -1,5 +1,7 @@
|
|||
{stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2,
|
||||
gdbmSupport ? true, gdbm ? null}:
|
||||
gdbmSupport ? true, gdbm ? null
|
||||
, sqlite ? null
|
||||
}:
|
||||
|
||||
assert zlibSupport -> zlib != null;
|
||||
assert gdbmSupport -> gdbm != null;
|
||||
|
@ -12,7 +14,9 @@ let
|
|||
optional (stdenv ? gcc && stdenv.gcc.libc != null) stdenv.gcc.libc ++
|
||||
[bzip2]
|
||||
++ optional zlibSupport zlib
|
||||
++ optional gdbmSupport gdbm;
|
||||
++ optional gdbmSupport gdbm
|
||||
++ optional (sqlite != null) sqlite
|
||||
;
|
||||
|
||||
in
|
||||
|
||||
|
|
Loading…
Reference in a new issue