* sqlite 3.6.12.

svn path=/nixpkgs/trunk/; revision=14859
This commit is contained in:
Eelco Dolstra 2009-04-03 12:44:55 +00:00
parent 46d0b7be04
commit fed7ac3798

View File

@ -1,13 +1,13 @@
{stdenv, fetchurl, readline, static ? false}: {stdenv, fetchurl, readline, static ? false}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "sqlite-3.6.10"; name = "sqlite-3.6.12";
# Note: don't use the "amalgamation" source release, since it # Note: don't use the "amalgamation" source release, since it
# doesn't install sqlite3.pc. # doesn't install sqlite3.pc.
src = fetchurl { src = fetchurl {
url = "http://www.sqlite.org/${name}.tar.gz"; url = "http://www.sqlite.org/${name}.tar.gz";
sha256 = "00dabyjg0530ng52b8lq6hwb6h181wl27ix5l7ayib0am8sdnmr1"; sha256 = "00cj6bda0kqqn6m3g8k4n4w1rnj76mgk47hf03j0d3w0j0g3rhln";
}; };
buildInputs = [readline]; buildInputs = [readline];
@ -17,10 +17,6 @@ stdenv.mkDerivation rec {
--with-readline-inc=-I${readline}/include --with-readline-inc=-I${readline}/include
''; '';
postInstall = ''
gcc -L$out/lib -I$out/include tool/genfkey.c -lsqlite3 -o $out/bin/genfkey
'';
meta = { meta = {
homepage = http://www.sqlite.org/; homepage = http://www.sqlite.org/;
description = "A self-contained, serverless, zero-configuration, transactional SQL database engine"; description = "A self-contained, serverless, zero-configuration, transactional SQL database engine";