2020-06-24 07:29:49 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, glib, readline
|
2021-01-17 03:51:22 +00:00
|
|
|
, bison, flex, pkg-config, autoreconfHook, libxslt, makeWrapper
|
2020-06-24 07:29:49 +01:00
|
|
|
, txt2man, which
|
|
|
|
}:
|
2009-11-18 09:39:59 +00:00
|
|
|
|
2020-06-24 07:29:49 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "mdbtools";
|
2021-08-14 16:27:22 +01:00
|
|
|
version = "0.9.4";
|
2009-11-18 09:39:59 +00:00
|
|
|
|
2018-11-21 03:56:06 +00:00
|
|
|
src = fetchFromGitHub {
|
2021-05-12 16:11:54 +01:00
|
|
|
owner = "mdbtools";
|
2018-11-21 03:56:06 +00:00
|
|
|
repo = "mdbtools";
|
2021-05-12 16:11:54 +01:00
|
|
|
rev = "v${version}";
|
2021-08-14 16:27:22 +01:00
|
|
|
sha256 = "sha256-Hnub8h0a3qx5cxVn1tp/IVbz9aORjGGWizD3Z4rPl2s=";
|
2008-05-11 10:45:26 +01:00
|
|
|
};
|
|
|
|
|
2020-06-24 07:29:49 +01:00
|
|
|
configureFlags = [ "--disable-scrollkeeper" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-01-17 03:51:22 +00:00
|
|
|
pkg-config bison flex autoreconfHook txt2man which
|
2021-05-12 16:11:54 +01:00
|
|
|
];
|
2020-06-24 07:29:49 +01:00
|
|
|
|
2021-05-12 16:11:54 +01:00
|
|
|
buildInputs = [ glib readline ];
|
2008-05-11 10:45:26 +01:00
|
|
|
|
2020-06-24 07:29:49 +01:00
|
|
|
enableParallelBuilding = true;
|
2008-05-11 10:45:26 +01:00
|
|
|
|
2020-06-24 07:29:49 +01:00
|
|
|
meta = with lib; {
|
2008-05-11 10:45:26 +01:00
|
|
|
description = ".mdb (MS Access) format tools";
|
2018-09-11 22:44:44 +01:00
|
|
|
license = with licenses; [ gpl2 lgpl2 ];
|
2020-06-24 07:29:49 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
inherit (src.meta) homepage;
|
2008-05-11 10:45:26 +01:00
|
|
|
};
|
|
|
|
}
|