mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Add psqlodbc for iodbc
This commit is contained in:
parent
5150b55bf2
commit
156e1f1e1f
20
pkgs/servers/sql/postgresql/psqlodbc/default.nix
Normal file
20
pkgs/servers/sql/postgresql/psqlodbc/default.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user