2009-11-18 09:39:59 +00:00
|
|
|
{ stdenv, fetchurl, glib, readline, bison, flex, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "mdbtools-0.6pre1";
|
|
|
|
|
2008-05-11 09:45:26 +00:00
|
|
|
src = fetchurl {
|
2013-07-14 00:31:12 +00:00
|
|
|
url = mirror://sourceforge/mdbtools/mdbtools-0.6pre1.tar.gz;
|
2008-05-11 09:45:26 +00:00
|
|
|
sha256 = "1lz33lmqifjszad7rl1r7rpxbziprrm5rkb27wmswyl5v98dqsbi";
|
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [glib readline bison flex];
|
2008-05-11 09:45:26 +00:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
preConfigure = ''
|
2008-05-11 09:45:26 +00: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 09:45:26 +00:00
|
|
|
|
2018-09-11 21:44:44 +00:00
|
|
|
meta = with stdenv.lib; {
|
2008-05-11 09:45:26 +00:00
|
|
|
description = ".mdb (MS Access) format tools";
|
2018-09-11 21:44:44 +00:00
|
|
|
homepage = http://mdbtools.sourceforge.net;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = with licenses; [ gpl2 lgpl2 ];
|
2008-05-11 09:45:26 +00:00
|
|
|
};
|
|
|
|
}
|