diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/unixODBC')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/unixODBC/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/unixODBC/default.nix b/nixpkgs/pkgs/development/libraries/unixODBC/default.nix new file mode 100644 index 000000000000..8587ad6d2c3c --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/unixODBC/default.nix @@ -0,0 +1,23 @@ +{ lib, stdenv, fetchurl }: + +stdenv.mkDerivation rec { + pname = "unixODBC"; + version = "2.3.12"; + + src = fetchurl { + urls = [ + "ftp://ftp.unixodbc.org/pub/unixODBC/${pname}-${version}.tar.gz" + "https://www.unixodbc.org/${pname}-${version}.tar.gz" + ]; + sha256 = "sha256-8hBQFEXOIb9ge6Ue+MEl4Q4i3/3/7Dd2RkYt9fAZFew="; + }; + + configureFlags = [ "--disable-gui" "--sysconfdir=/etc" ]; + + meta = with lib; { + description = "ODBC driver manager for Unix"; + homepage = "https://www.unixodbc.org/"; + license = licenses.lgpl2; + platforms = platforms.unix; + }; +} |