forked from mirrors/nixpkgs
Added MDBtools
svn path=/nixpkgs/trunk/; revision=11811
This commit is contained in:
parent
66f306ac4e
commit
acf7290ae7
22
pkgs/tools/misc/mdbtools/0.6-pre1.nix
Normal file
22
pkgs/tools/misc/mdbtools/0.6-pre1.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
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";
|
||||
};
|
||||
}
|
|
@ -805,6 +805,13 @@ let pkgs = rec {
|
|||
inherit (xlibs) libX11;
|
||||
};
|
||||
|
||||
mdbtools = builderDefsPackage (selectVersion ../tools/misc/mdbtools "0.6-pre1") {
|
||||
inherit readline pkgconfig;
|
||||
inherit (gtkLibs) glib;
|
||||
bison = bison23;
|
||||
flex = flex2535;
|
||||
} null;
|
||||
|
||||
mjpegtools = import ../tools/video/mjpegtools {
|
||||
inherit fetchurl stdenv libjpeg;
|
||||
inherit (xlibs) libX11;
|
||||
|
|
Loading…
Reference in a new issue