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