From af20d738aebbad73c4191f9c83f2082b3841a3da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 2 Sep 2023 16:45:49 +0200 Subject: [PATCH] psqlodbc: 09.01.0200 -> 13.00.0000 --- pkgs/development/libraries/psqlodbc/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/psqlodbc/default.nix b/pkgs/development/libraries/psqlodbc/default.nix index c1a86b1f3979..f503f3f844d4 100644 --- a/pkgs/development/libraries/psqlodbc/default.nix +++ b/pkgs/development/libraries/psqlodbc/default.nix @@ -2,21 +2,25 @@ stdenv.mkDerivation rec { pname = "psqlodbc"; - version = "09.01.0200"; + version = "13.02.0000"; src = fetchurl { - url = "https://ftp.postgresql.org/pub/odbc/versions/src/${pname}-${version}.tar.gz"; - sha256 = "0b4w1ahfpp34jpscfk2kv9050lh3xl9pvcysqvaigkcd0vsk1hl9"; + url = "https://ftp.postgresql.org/pub/odbc/versions/src/psqlodbc-${version}.tar.gz"; + hash = "sha256-s5t+XEH9ZHXFUREvpyS/V8SkRhdexBiKkOKETMFhJYU="; }; buildInputs = [ libiodbc postgresql openssl ]; - configureFlags = [ "--with-iodbc=${libiodbc}" ]; + configureFlags = [ + "--with-iodbc=${libiodbc}" + "--with-libpq=${lib.getDev postgresql}/bin/pg_config" + ]; meta = with lib; { homepage = "https://odbc.postgresql.org/"; description = "ODBC driver for PostgreSQL"; license = licenses.lgpl2; platforms = platforms.linux; + maintainers = with maintainers; [ ]; }; }