@@ -1,32 +1,26 @@
11{ stdenv, lib, fetchFromGitHub, glib, readline
22, bison, flex, pkg-config, autoreconfHook, libxslt, makeWrapper
33, txt2man, which
4−# withUi currently doesn't work. It compiles but fails to run.
5−, withUi ? false, gtk2, gnome2
64}:
75
8−let
9− uiDeps = [ gtk2 ] ++ (with gnome2; [ GConf libglade libgnomeui gnome-doc-utils ]);
10−
11−in
126stdenv.mkDerivation rec {
137 pname = "mdbtools";
14− version = "0.8.2";
8+ version = "0.9.3";
159
1610 src = fetchFromGitHub {
17− owner = "cyberemissary";
11+ owner = "mdbtools";
1812 repo = "mdbtools";
19− rev = version;
20− sha256 = "12rhf6rgnws6br5dn1l2j7i77q9p4l6ryga10jpax01vvzhr26qc";
13+ rev = "v${version}";
14+ sha256 = "11cv7hh8j8akpgm1a6pp7im6iacpgx6wzcg9n9rmb41j0fgxamdf";
2115 };
2216
2317 configureFlags = [ "--disable-scrollkeeper" ];
2418
2519 nativeBuildInputs = [
2620 pkg-config bison flex autoreconfHook txt2man which
27− ] ++ lib.optional withUi libxslt;
21+ ];
2822
29− buildInputs = [ glib readline ] ++ lib.optionals withUi uiDeps;
23+ buildInputs = [ glib readline ];
3024
3125 enableParallelBuilding = true;
3226