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,
|
{stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2,
|
||||||
gdbmSupport ? true, gdbm ? null}:
|
gdbmSupport ? true, gdbm ? null
|
||||||
|
, sqlite ? null
|
||||||
|
}:
|
||||||
|
|
||||||
assert zlibSupport -> zlib != null;
|
assert zlibSupport -> zlib != null;
|
||||||
assert gdbmSupport -> gdbm != null;
|
assert gdbmSupport -> gdbm != null;
|
||||||
@ -12,7 +14,9 @@ let
|
|||||||
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;
|
++ optional gdbmSupport gdbm
|
||||||
|
++ optional (sqlite != null) sqlite
|
||||||
|
;
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user