mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
21 lines
526 B
Nix
21 lines
526 B
Nix
{ 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";
|
|
};
|
|
}
|