2012-10-08 21:26:02 +00:00
|
|
|
{ stdenv, fetchurl, libiodbc, postgresql, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "psqlodbc-09.01.0200";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.postgresql.org/pub/odbc/versions/src/${name}.tar.gz";
|
|
|
|
sha256 = "0b4w1ahfpp34jpscfk2kv9050lh3xl9pvcysqvaigkcd0vsk1hl9";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libiodbc postgresql openssl ];
|
|
|
|
|
|
|
|
configureFlags = "--with-iodbc=${libiodbc}";
|
|
|
|
|
2015-06-10 11:00:11 +00:00
|
|
|
meta = with stdenv.lib; {
|
2012-10-08 21:26:02 +00:00
|
|
|
homepage = http://psqlodbc.projects.postgresql.org/;
|
|
|
|
description = "ODBC driver for PostgreSQL";
|
2015-06-10 11:00:11 +00:00
|
|
|
license = licenses.lgpl2;
|
2012-10-08 21:26:02 +00:00
|
|
|
};
|
|
|
|
}
|