2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "unixODBC";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "2.3.11";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-25 08:27:29 +00:00
|
|
|
urls = [
|
|
|
|
"ftp://ftp.unixodbc.org/pub/unixODBC/${pname}-${version}.tar.gz"
|
2023-02-22 10:55:15 +00:00
|
|
|
"https://www.unixodbc.org/${pname}-${version}.tar.gz"
|
2021-08-25 08:27:29 +00:00
|
|
|
];
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-2eVcjnEYNH48ZshzOIVtrRUWtJD7fHVsFWKiwmfHO1w=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--disable-gui" "--sysconfdir=/etc" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "ODBC driver manager for Unix";
|
2023-02-22 10:55:15 +00:00
|
|
|
homepage = "https://www.unixodbc.org/";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|