mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +03:00
3c948a1a03
svn path=/nixpkgs/trunk/; revision=34506
23 lines
499 B
Nix
23 lines
499 B
Nix
{ stdenv, fetchurl, pkgconfig, gtk, 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 [ gtk pkgconfig ];
|
|
|
|
preBuild =
|
|
''
|
|
export NIX_LDFLAGS_BEFORE="-rpath $out/lib"
|
|
'';
|
|
|
|
meta = {
|
|
description = "iODBC driver manager";
|
|
homepage = http://www.iodbc.org;
|
|
};
|
|
}
|