8cbe6b9ce4
This is a backwards compatible change; it mostly puts all the extensions for postgresql in a common directory to keep them isolated. It also moves a few things that /were not/ extensions out into other parts of the filesystem namespace; namely the postgresql_jdbc and psqlodbc libraries were moved under development/java-modules and development/libraries, respectively. Because these libraries use the libpq postgresql client drivers, they're less sensitive to underlying version changes anyway (since the protocol is relatively stable). No attributes were renamed or harmed in the creation of this patch. Signed-off-by: Austin Seipp <aseipp@pobox.com>
22 lines
589 B
Nix
22 lines
589 B
Nix
{ stdenv, fetchurl, libiodbc, postgresql, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "psqlodbc-09.01.0200";
|
|
|
|
src = fetchurl {
|
|
url = "https://ftp.postgresql.org/pub/odbc/versions/src/${name}.tar.gz";
|
|
sha256 = "0b4w1ahfpp34jpscfk2kv9050lh3xl9pvcysqvaigkcd0vsk1hl9";
|
|
};
|
|
|
|
buildInputs = [ libiodbc postgresql openssl ];
|
|
|
|
configureFlags = [ "--with-iodbc=${libiodbc}" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://psqlodbc.projects.postgresql.org/;
|
|
description = "ODBC driver for PostgreSQL";
|
|
license = licenses.lgpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|