mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
531e4b80c9
Only acts on one-line dependency lists.
23 lines
577 B
Nix
23 lines
577 B
Nix
{ stdenv, fetchurl, glib, readline, bison, flex, pkgconfig }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "mdbtools-0.6pre1";
|
|
|
|
src = fetchurl {
|
|
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
|
|
'';
|
|
|
|
meta = {
|
|
description = ".mdb (MS Access) format tools";
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|