nixpkgs/pkgs/development/libraries/libiodbc/default.nix
Yury G. Kudryashov e523ba1732 Add libiodbc
Use experimental style. Will revert to "standard" one if needed.

svn path=/nixpkgs/trunk/; revision=20929
2010-04-03 09:53:38 +00:00

23 lines
469 B
Nix

a:
let
inherit (a) stdenv fetchurl pkgconfig cg;
inherit (a.gtkLibs) gtk;
in
stdenv.mkDerivation rec {
name = "libiodbc-3.52.7";
src = fetchurl {
url = "${meta.homepage}/downloads/iODBC/${name}.tar.gz";
sha256 = "d7002cc7e566785f1203f6096dcb49b0aad02a9d9946a8eca5d663ac1a85c0c7";
};
buildInputs = if cg "gtk" false then [ gtk pkgconfig ] else [];
meta = {
description = "iODBC driver manager";
homepage = http://www.iodbc.org;
};
}