nixpkgs/pkgs/development/libraries/psqlodbc/default.nix

23 lines
605 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, libiodbc, postgresql, openssl }:
2012-10-08 21:26:02 +00:00
stdenv.mkDerivation rec {
2021-06-22 13:21:29 +00:00
pname = "psqlodbc";
version = "09.01.0200";
2012-10-08 21:26:02 +00:00
src = fetchurl {
2021-06-22 13:21:29 +00:00
url = "https://ftp.postgresql.org/pub/odbc/versions/src/${pname}-${version}.tar.gz";
2012-10-08 21:26:02 +00:00
sha256 = "0b4w1ahfpp34jpscfk2kv9050lh3xl9pvcysqvaigkcd0vsk1hl9";
};
buildInputs = [ libiodbc postgresql openssl ];
2018-07-25 21:44:21 +00:00
configureFlags = [ "--with-iodbc=${libiodbc}" ];
2012-10-08 21:26:02 +00:00
meta = with lib; {
2020-11-13 10:27:11 +00:00
homepage = "https://odbc.postgresql.org/";
2012-10-08 21:26:02 +00:00
description = "ODBC driver for PostgreSQL";
2015-06-10 11:00:11 +00:00
license = licenses.lgpl2;
platforms = platforms.linux;
2012-10-08 21:26:02 +00:00
};
}