2021-03-20 04:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
|
|
|
, bzip2
|
|
|
|
, doxygen
|
|
|
|
, gettext
|
|
|
|
, imagemagick
|
|
|
|
, libgsf
|
|
|
|
, xmlto
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libpst-0.6.75";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.five-ten-sg.com/libpst/packages/${name}.tar.gz";
|
|
|
|
sha256 = "11wrf47i3brlxg25wsfz17373q7m5fpjxn2lr41dj252ignqzaac";
|
|
|
|
};
|
|
|
|
|
2021-03-20 04:20:00 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
doxygen
|
|
|
|
gettext
|
|
|
|
xmlto
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
2021-03-20 04:20:00 +00:00
|
|
|
bzip2
|
|
|
|
imagemagick
|
|
|
|
libgsf
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-python=no"
|
2021-03-20 04:20:00 +00:00
|
|
|
"--disable-static"
|
|
|
|
"--enable-libpst-shared"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.five-ten-sg.com/libpst/";
|
|
|
|
description = "A library to read PST (MS Outlook Personal Folders) files";
|
2021-03-20 04:20:00 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.tohl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|