Add libiodbc

Use experimental style. Will revert to "standard" one if needed.

svn path=/nixpkgs/trunk/; revision=20929
This commit is contained in:
Yury G. Kudryashov 2010-04-03 09:53:38 +00:00
parent 98cfefe7ea
commit e523ba1732
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,22 @@
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;
};
}

View File

@ -4280,6 +4280,9 @@ let
inherit stdenv fetchurl perl; inherit stdenv fetchurl perl;
}; };
libiodbc = makeOverridable (import ../development/libraries/libiodbc)
(pkgs // { cg = getPkgConfig "libiodbc"; });
libnice = import ../development/libraries/libnice { libnice = import ../development/libraries/libnice {
inherit stdenv fetchurl pkgconfig; inherit stdenv fetchurl pkgconfig;
inherit (gnome) glib; inherit (gnome) glib;