1 { lib, stdenv, fetchurl, libiodbc, postgresql, openssl }:
3 stdenv.mkDerivation rec {
5 version = "09.01.0200";
8 url = "https://ftp.postgresql.org/pub/odbc/versions/src/${pname}-${version}.tar.gz";
9 sha256 = "0b4w1ahfpp34jpscfk2kv9050lh3xl9pvcysqvaigkcd0vsk1hl9";
12 buildInputs = [ libiodbc postgresql openssl ];
14 configureFlags = [ "--with-iodbc=${libiodbc}" ];
17 homepage = "https://odbc.postgresql.org/";
18 description = "ODBC driver for PostgreSQL";
19 license = licenses.lgpl2;
20 platforms = platforms.linux;