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