nixpkgs/pkgs/servers/sql/postgresql/psqlodbc/default.nix
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00

22 lines
585 B
Nix

{ stdenv, fetchurl, libiodbc, postgresql, openssl }:
stdenv.mkDerivation rec {
name = "psqlodbc-09.01.0200";
src = fetchurl {
url = "https://ftp.postgresql.org/pub/odbc/versions/src/${name}.tar.gz";
sha256 = "0b4w1ahfpp34jpscfk2kv9050lh3xl9pvcysqvaigkcd0vsk1hl9";
};
buildInputs = [ libiodbc postgresql openssl ];
configureFlags = "--with-iodbc=${libiodbc}";
meta = with stdenv.lib; {
homepage = http://psqlodbc.projects.postgresql.org/;
description = "ODBC driver for PostgreSQL";
license = licenses.lgpl2;
platforms = platforms.linux;
};
}