nixpkgs/pkgs/tools/misc/mdbtools/default.nix

35 lines
809 B
Nix
Raw Normal View History

2020-06-24 06:29:49 +00:00
{ stdenv, lib, fetchFromGitHub, glib, readline
2021-01-17 03:51:22 +00:00
, bison, flex, pkg-config, autoreconfHook, libxslt, makeWrapper
2020-06-24 06:29:49 +00:00
, txt2man, which
}:
2020-06-24 06:29:49 +00:00
stdenv.mkDerivation rec {
2019-08-13 21:52:01 +00:00
pname = "mdbtools";
2021-11-03 14:29:51 +00:00
version = "1.0.0";
src = fetchFromGitHub {
owner = "mdbtools";
repo = "mdbtools";
rev = "v${version}";
2021-11-03 14:29:51 +00:00
sha256 = "sha256-e9rgTWu8cwuccpp/wAfas1ZeQPTpGcgE6YjLz7KRnhw=";
};
2020-06-24 06:29:49 +00:00
configureFlags = [ "--disable-scrollkeeper" ];
nativeBuildInputs = [
2021-01-17 03:51:22 +00:00
pkg-config bison flex autoreconfHook txt2man which
];
2020-06-24 06:29:49 +00:00
buildInputs = [ glib readline ];
2020-06-24 06:29:49 +00:00
enableParallelBuilding = true;
2020-06-24 06:29:49 +00:00
meta = with lib; {
description = ".mdb (MS Access) format tools";
2018-09-11 21:44:44 +00:00
license = with licenses; [ gpl2 lgpl2 ];
2020-06-24 06:29:49 +00:00
maintainers = with maintainers; [ ];
platforms = platforms.unix;
inherit (src.meta) homepage;
};
}