3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libiodbc/default.nix

24 lines
545 B
Nix

{ stdenv, fetchurl, pkgconfig, gtk2, useGTK ? false }:
stdenv.mkDerivation rec {
name = "libiodbc-3.52.8";
src = fetchurl {
url = "mirror://sourceforge/iodbc/${name}.tar.gz";
sha256 = "16hjb6fcval85gnkgkxfhw4c5h3pgf86awyh8p2bhnnvzc0ma5hq";
};
buildInputs = stdenv.lib.optionals useGTK [ gtk2 pkgconfig ];
preBuild =
''
export NIX_LDFLAGS_BEFORE="-rpath $out/lib"
'';
meta = {
description = "iODBC driver manager";
homepage = http://www.iodbc.org;
platforms = stdenv.lib.platforms.linux;
};
}