1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/development/libraries/libiodbc/default.nix
Eelco Dolstra 2aac41a8db * libiodbc: don't pass all of Nixpkgs to the package. There is no
reason why this shouldn't work, but it breaks NixOS evaluation on
  x86_64-linux with weird segfaults and assertion failures, probably
  due to a bug in the evaluator or the ATerm library.

svn path=/nixpkgs/trunk/; revision=20953
2010-04-06 10:50:52 +00:00

18 lines
438 B
Nix

{ stdenv, fetchurl, pkgconfig, gtk, useGTK ? false }:
stdenv.mkDerivation rec {
name = "libiodbc-3.52.7";
src = fetchurl {
url = "${meta.homepage}/downloads/iODBC/${name}.tar.gz";
sha256 = "d7002cc7e566785f1203f6096dcb49b0aad02a9d9946a8eca5d663ac1a85c0c7";
};
buildInputs = stdenv.lib.optionals useGTK [ gtk pkgconfig ];
meta = {
description = "iODBC driver manager";
homepage = http://www.iodbc.org;
};
}