mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
acf7290ae7
svn path=/nixpkgs/trunk/; revision=11811
23 lines
645 B
Nix
23 lines
645 B
Nix
args : with args;
|
|
rec {
|
|
src = fetchurl {
|
|
url = http://prdownloads.sourceforge.net/mdbtools/mdbtools-0.6pre1.tar.gz;
|
|
sha256 = "1lz33lmqifjszad7rl1r7rpxbziprrm5rkb27wmswyl5v98dqsbi";
|
|
};
|
|
|
|
buildInputs = [glib readline bison flex pkgconfig];
|
|
configureFlags = [];
|
|
|
|
preConfigure = FullDepEntry (''
|
|
sed -e 's@static \(GHashTable [*]mdb_backends;\)@\1@' -i src/libmdb/backend.c
|
|
'') ["doUnpack" "minInit"];
|
|
|
|
/* doConfigure should be specified separately */
|
|
phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
|
|
|
|
name = "mdbtools-" + version;
|
|
meta = {
|
|
description = ".mdb (MS Access) format tools";
|
|
};
|
|
}
|