1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/development/libraries/libiodbc/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

25 lines
572 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";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = stdenv.lib.optionals useGTK [ gtk2 ];
preBuild =
''
export NIX_LDFLAGS_BEFORE="-rpath $out/lib"
'';
meta = {
description = "iODBC driver manager";
homepage = http://www.iodbc.org;
platforms = stdenv.lib.platforms.linux;
};
}