mdbtools: 0.6pre1 -> 0.7.1

Also remove mbdtools_git. This was older than mbdtools!
This commit is contained in:
Matthew Bauer
2018-11-21 09:39:11 -06:00
parent 3e6d7a2329
commit f4bf6ba67b
3 changed files with 13 additions and 47 deletions
+13 -8
View File
@@ -1,15 +1,20 @@
{ stdenv, fetchurl, glib, readline, bison, flex, pkgconfig }:
{ stdenv, fetchFromGitHub, glib, readline
, bison, flex, pkgconfig, autoreconfHook
, txt2man, which }:
stdenv.mkDerivation {
name = "mdbtools-0.6pre1";
let version = "0.7.1";
in stdenv.mkDerivation {
name = "mdbtools-${version}";
src = fetchurl {
url = mirror://sourceforge/mdbtools/mdbtools-0.6pre1.tar.gz;
sha256 = "1lz33lmqifjszad7rl1r7rpxbziprrm5rkb27wmswyl5v98dqsbi";
src = fetchFromGitHub {
owner = "brianb";
repo = "mdbtools";
rev = version;
sha256 = "0gwcpp9y09xhs21g7my2fs8ncb8i6ahlyixcx8jd3q97jbzj441l";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [glib readline bison flex];
nativeBuildInputs = [ pkgconfig bison flex autoreconfHook txt2man which ];
buildInputs = [ glib readline ];
preConfigure = ''
sed -e 's@static \(GHashTable [*]mdb_backends;\)@\1@' -i src/libmdb/backend.c