3
0
Fork 0
forked from mirrors/nixpkgs

Add psqlodbc for iodbc

This commit is contained in:
Eelco Dolstra 2012-10-08 17:26:02 -04:00
parent 5150b55bf2
commit 156e1f1e1f
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ 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}";
meta = {
homepage = http://psqlodbc.projects.postgresql.org/;
description = "ODBC driver for PostgreSQL";
license = "LGPL";
};
}

View file

@ -5431,6 +5431,10 @@ let
postgresql_jdbc = callPackage ../servers/sql/postgresql/jdbc { };
psqlodbc = callPackage ../servers/sql/postgresql/psqlodbc {
postgresql = postgresql91;
};
pyIRCt = builderDefsPackage (import ../servers/xmpp/pyIRCt) {
inherit xmpppy pythonIRClib python makeWrapper;
};