Merge pull request #122762 from tollb/mdbtools-0.9.3
mdbtools: 0.8.2 -> 0.9.3
This commit is contained in:
commit
5956a4e776
@ -1,32 +1,26 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, glib, readline
|
{ stdenv, lib, fetchFromGitHub, glib, readline
|
||||||
, bison, flex, pkg-config, autoreconfHook, libxslt, makeWrapper
|
, bison, flex, pkg-config, autoreconfHook, libxslt, makeWrapper
|
||||||
, txt2man, which
|
, txt2man, which
|
||||||
# withUi currently doesn't work. It compiles but fails to run.
|
|
||||||
, withUi ? false, gtk2, gnome2
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
|
||||||
uiDeps = [ gtk2 ] ++ (with gnome2; [ GConf libglade libgnomeui gnome-doc-utils ]);
|
|
||||||
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mdbtools";
|
pname = "mdbtools";
|
||||||
version = "0.8.2";
|
version = "0.9.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cyberemissary";
|
owner = "mdbtools";
|
||||||
repo = "mdbtools";
|
repo = "mdbtools";
|
||||||
rev = version;
|
rev = "v${version}";
|
||||||
sha256 = "12rhf6rgnws6br5dn1l2j7i77q9p4l6ryga10jpax01vvzhr26qc";
|
sha256 = "11cv7hh8j8akpgm1a6pp7im6iacpgx6wzcg9n9rmb41j0fgxamdf";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [ "--disable-scrollkeeper" ];
|
configureFlags = [ "--disable-scrollkeeper" ];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config bison flex autoreconfHook txt2man which
|
pkg-config bison flex autoreconfHook txt2man which
|
||||||
] ++ lib.optional withUi libxslt;
|
];
|
||||||
|
|
||||||
buildInputs = [ glib readline ] ++ lib.optionals withUi uiDeps;
|
buildInputs = [ glib readline ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user