* SQLite updated to 3.6.22. Use the amalgamation tarball since it now

installs the pkg-config files that other packages expect.  This also
  makes the dependency on tcl unnecessary.

svn path=/nixpkgs/trunk/; revision=19765
This commit is contained in:
Eelco Dolstra 2010-02-02 15:49:48 +00:00
parent ed088ba208
commit a697127fcd
2 changed files with 5 additions and 22 deletions

View File

@ -1,31 +1,14 @@
{stdenv, fetchurl, readline, tcl, static ? false}:
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "sqlite-3.6.19";
name = "sqlite-3.6.22";
# Note: don't use the "amalgamation" source release, since it
# doesn't install sqlite3.pc.
src = fetchurl {
url = "http://www.sqlite.org/${name}.tar.gz";
sha256 = "7d8649c44fb97b874aa59144faaeb2356ec1fc6a8a7baa1d16e9ff5f1e097003";
url = "http://www.sqlite.org/sqlite-amalgamation-3.6.22.tar.gz";
sha256 = "1k5qyl0v2y4fpkh7vvxvb0irpnl71g0ffhfc3ksm40mrhcdq9qk8";
};
buildInputs = [readline tcl];
configureFlags = ''
CFLAGS=-O3
--enable-load-extension
${if static then "--disable-shared --enable-static" else ""}
--enable-amalgamation
--enable-threadsafe
--disable-cross-thread-connections
--disable-tcl
--disable-tempstore
--with-readline-inc=-I${readline}/include
'';
NIX_CFLAGS_COMPILE = "-DSQLITE_ENABLE_COLUMN_METADATA=1";
NIX_CFLAGS_LINK = "-ldl"; # needed for --enable-load-extension
meta = {
homepage = http://www.sqlite.org/;

View File

@ -4674,7 +4674,7 @@ let
};
sqlite = import ../development/libraries/sqlite {
inherit fetchurl stdenv readline tcl;
inherit fetchurl stdenv;
};
stlport = import ../development/libraries/stlport {