2021-01-21 20:00:13 +03:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2006-03-15 15:43:40 +03:00
|
|
|
|
2013-09-01 03:57:33 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "unixODBC";
|
2021-03-10 01:21:36 +03:00
|
|
|
version = "2.3.9";
|
2016-04-26 21:17:23 +03:00
|
|
|
|
2006-03-15 15:43:40 +03:00
|
|
|
src = fetchurl {
|
2021-08-23 22:23:59 +03:00
|
|
|
urls = [
|
|
|
|
"ftp://ftp.unixodbc.org/pub/unixODBC/${pname}-${version}.tar.gz"
|
|
|
|
"http://www.unixodbc.org/${pname}-${version}.tar.gz"
|
|
|
|
];
|
2021-03-10 01:21:36 +03:00
|
|
|
sha256 = "sha256-UoM+rD1oHIsMmlpl8uvXRbOpZPII/HSPl35EAVoxsgc=";
|
2016-04-26 21:17:23 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--disable-gui" "--sysconfdir=/etc" ];
|
|
|
|
|
2021-01-21 20:00:13 +03:00
|
|
|
meta = with lib; {
|
2016-04-26 21:17:23 +03:00
|
|
|
description = "ODBC driver manager for Unix";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "http://www.unixodbc.org/";
|
2016-04-26 21:17:23 +03:00
|
|
|
license = licenses.lgpl2;
|
2016-10-10 20:04:05 +03:00
|
|
|
platforms = platforms.unix;
|
2006-03-15 15:43:40 +03:00
|
|
|
};
|
|
|
|
}
|