2020-07-18 16:06:22 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, glib, readline
|
2021-02-05 17:12:51 +00:00
|
|
|
, bison, flex, pkg-config, autoreconfHook, libxslt, makeWrapper
|
2020-07-18 16:06:22 +00:00
|
|
|
, txt2man, which
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "mdbtools";
|
2021-05-20 23:08:51 +00:00
|
|
|
version = "0.9.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-05-20 23:08:51 +00:00
|
|
|
owner = "mdbtools";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "mdbtools";
|
2021-05-20 23:08:51 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "11cv7hh8j8akpgm1a6pp7im6iacpgx6wzcg9n9rmb41j0fgxamdf";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
configureFlags = [ "--disable-scrollkeeper" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config bison flex autoreconfHook txt2man which
|
2021-05-20 23:08:51 +00:00
|
|
|
];
|
2020-07-18 16:06:22 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
buildInputs = [ glib readline ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
enableParallelBuilding = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = ".mdb (MS Access) format tools";
|
|
|
|
license = with licenses; [ gpl2 lgpl2 ];
|
2020-07-18 16:06:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
inherit (src.meta) homepage;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|