nixpkgs/pkgs/tools/misc/mdbtools/default.nix

25 lines
676 B
Nix
Raw Normal View History

{ stdenv, fetchurl, glib, readline, bison, flex, pkgconfig }:
stdenv.mkDerivation {
name = "mdbtools-0.6pre1";
src = fetchurl {
2013-07-14 00:31:12 +00:00
url = mirror://sourceforge/mdbtools/mdbtools-0.6pre1.tar.gz;
sha256 = "1lz33lmqifjszad7rl1r7rpxbziprrm5rkb27wmswyl5v98dqsbi";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [glib readline bison flex];
preConfigure = ''
sed -e 's@static \(GHashTable [*]mdb_backends;\)@\1@' -i src/libmdb/backend.c
'';
2018-09-11 21:44:44 +00:00
meta = with stdenv.lib; {
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 ];
};
}