1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

psqlodbc: update from 8.3 to 9.3 (fixes build)

This commit is contained in:
Bjørn Forsman 2014-02-03 21:03:05 +01:00
parent b4a9fff1aa
commit 15eed826b6

View file

@ -30,8 +30,8 @@ args : with args;
};
# official postgres connector
psql = rec {
deriv = stdenv.mkDerivation {
name = "psql-odbc-08.03.0200";
deriv = stdenv.mkDerivation rec {
name = "psqlodbc-09.03.0100";
buildInputs = [ unixODBC libtool postgresql openssl ];
preConfigure="
export CPPFLAGS=-I${unixODBC}/include
@ -39,9 +39,8 @@ args : with args;
";
# added -ltdl to resolve missing references `dlsym' `dlerror' `dlopen' `dlclose'
src = fetchurl {
url = http://wwwmaster.postgresql.org/redir?setmir=53&typ=h&url=http://ftp.de.postgresql.org/mirror/postgresql//odbc/versions/src/psqlodbc-08.03.0200.tar.gz;
name = "psqlodbc-08.03.0200.tar.gz";
sha256 = "1401hgzvs3m2yr2nbbf9gfy2wwijrk4ihwz972arbn0krsiwxya1";
url = "http://ftp.postgresql.org/pub/odbc/versions/src/${name}.tar.gz";
sha256 = "0mh10chkmlppidnmvgbp47v5jnphsrls28zwbvyk2crcn8gdx9q1";
};
meta = {
description = "unix odbc driver for postgresql";