Add Git version of mdbtools - UCS-2 capable

svn path=/nixpkgs/trunk/; revision=24007
This commit is contained in:
Michael Raskin 2010-09-30 16:50:37 +00:00
parent c7ca6b46b2
commit cffebf17a2
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchurl, fetchgit, glib, readline, bison, flex, pkgconfig,
libiconv, autoconf, automake, libtool }:
stdenv.mkDerivation {
name = "mdbtools-git";
src = fetchgit {
url = "http://github.com/brianb/mdbtools.git";
rev = "5ac44b69d9375cca3e1055b70fd22abf7fbf17ab";
sha256 = "094e6b480c6fda3a000d0d8539b209d2d7c204a440660a21c11f2e1c9b3aa345";
};
buildInputs = [glib readline bison flex pkgconfig libiconv autoconf automake
libtool];
preConfigure = ''
sed -e 's@static \(GHashTable [*]mdb_backends;\)@\1@' -i src/libmdb/backend.c
export NIX_LDFLAGS="$NIX_LDFLAGS -liconv"
./autogen.sh
'';
meta = {
description = ".mdb (MS Access) format tools";
};
}

View File

@ -821,6 +821,10 @@ let
flex = flex2535;
};
mdbtools_git = callPackage ../tools/misc/mdbtools/git.nix {
flex = flex2535;
};
miniupnpd = callPackage ../tools/networking/miniupnpd { };
mjpegtools = callPackage ../tools/video/mjpegtools { };