2009-11-18 10:39:59 +01:00
|
|
|
{ stdenv, fetchurl, glib, readline, bison, flex, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "mdbtools-0.6pre1";
|
|
|
|
|
2008-05-11 11:45:26 +02:00
|
|
|
src = fetchurl {
|
2013-07-14 02:31:12 +02:00
|
|
|
url = mirror://sourceforge/mdbtools/mdbtools-0.6pre1.tar.gz;
|
2008-05-11 11:45:26 +02:00
|
|
|
sha256 = "1lz33lmqifjszad7rl1r7rpxbziprrm5rkb27wmswyl5v98dqsbi";
|
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [glib readline bison flex];
|
2008-05-11 11:45:26 +02:00
|
|
|
|
2009-11-18 10:39:59 +01:00
|
|
|
preConfigure = ''
|
2008-05-11 11:45:26 +02:00
|
|
|
sed -e 's@static \(GHashTable [*]mdb_backends;\)@\1@' -i src/libmdb/backend.c
|
2009-11-18 10:39:59 +01:00
|
|
|
'';
|
2008-05-11 11:45:26 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ".mdb (MS Access) format tools";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2008-05-11 11:45:26 +02:00
|
|
|
};
|
|
|
|
}
|