diff --git a/pkgs/development/libraries/unixODBC/default.nix b/pkgs/development/libraries/unixODBC/default.nix index ef8dcdc53290..e40f362a3b10 100644 --- a/pkgs/development/libraries/unixODBC/default.nix +++ b/pkgs/development/libraries/unixODBC/default.nix @@ -1,10 +1,20 @@ -{stdenv, fetchurl}: +{ stdenv, fetchurl }: stdenv.mkDerivation rec { - name = "unixODBC-2.3.2"; + name = "unixODBC-${version}"; + version = "2.3.4"; + src = fetchurl { url = "ftp://ftp.unixodbc.org/pub/unixODBC/${name}.tar.gz"; - sha256 = "16jw5fq7wgfky6ak1h2j2pqx99jivsdl4q8aq6immpr55xs5jd4w"; + sha256 = "0f8y88rcc2akjvjv5y66yx7k0ms9h1s0vbcfy25j93didflhj59f"; + }; + + configureFlags = [ "--disable-gui" "--sysconfdir=/etc" ]; + + meta = with stdenv.lib; { + description = "ODBC driver manager for Unix"; + homepage = http://www.unixodbc.org/; + license = licenses.lgpl2; + platforms = platforms.linux; }; - configureFlags = "--disable-gui --sysconfdir=/etc"; }