Add libiodbc
Use experimental style. Will revert to "standard" one if needed. svn path=/nixpkgs/trunk/; revision=20929
This commit is contained in:
parent
98cfefe7ea
commit
e523ba1732
22
pkgs/development/libraries/libiodbc/default.nix
Normal file
22
pkgs/development/libraries/libiodbc/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user