1 { lib, stdenv, fetchurl, libiodbc, postgresql, openssl }:
3 stdenv.mkDerivation rec {
5 version = "13.02.0000";
8 url = "https://ftp.postgresql.org/pub/odbc/versions/src/psqlodbc-${version}.tar.gz";
9 hash = "sha256-s5t+XEH9ZHXFUREvpyS/V8SkRhdexBiKkOKETMFhJYU=";
12 buildInputs = [ libiodbc postgresql openssl ];
15 "--with-iodbc=${libiodbc}"
16 "--with-libpq=${lib.getDev postgresql}/bin/pg_config"
20 homepage = "https://odbc.postgresql.org/";
21 description = "ODBC driver for PostgreSQL";
22 license = licenses.lgpl2;
23 platforms = platforms.linux;
24 maintainers = with maintainers; [ ];