2012-10-08 22:26:02 +01:00
|
|
|
{ stdenv, fetchurl, libiodbc, postgresql, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "psqlodbc-09.01.0200";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://ftp.postgresql.org/pub/odbc/versions/src/${name}.tar.gz";
|
2012-10-08 22:26:02 +01:00
|
|
|
sha256 = "0b4w1ahfpp34jpscfk2kv9050lh3xl9pvcysqvaigkcd0vsk1hl9";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libiodbc postgresql openssl ];
|
|
|
|
|
2018-07-25 22:44:21 +01:00
|
|
|
configureFlags = [ "--with-iodbc=${libiodbc}" ];
|
2012-10-08 22:26:02 +01:00
|
|
|
|
2015-06-10 12:00:11 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-11-13 10:27:11 +00:00
|
|
|
homepage = "https://odbc.postgresql.org/";
|
2012-10-08 22:26:02 +01:00
|
|
|
description = "ODBC driver for PostgreSQL";
|
2015-06-10 12:00:11 +01:00
|
|
|
license = licenses.lgpl2;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = platforms.linux;
|
2012-10-08 22:26:02 +01:00
|
|
|
};
|
|
|
|
}
|