2021-03-24 04:06:36 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, autoreconfHook
|
|
|
|
, bzip2
|
|
|
|
, doxygen
|
|
|
|
, gettext
|
|
|
|
, imagemagick
|
|
|
|
, libgsf
|
2022-10-23 03:06:54 +00:00
|
|
|
, pkg-config
|
2021-03-24 04:06:36 +00:00
|
|
|
, xmlto
|
|
|
|
}:
|
2015-01-30 17:59:22 +00:00
|
|
|
|
2022-10-23 03:06:54 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-04-13 19:08:45 +00:00
|
|
|
pname = "libpst";
|
|
|
|
version = "0.6.76";
|
2015-01-30 17:59:22 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-10-23 03:06:54 +00:00
|
|
|
url = "http://www.five-ten-sg.com/libpst/packages/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
|
|
|
|
hash = "sha256-PSkb7rvbSNK5NGCLwGGVtkHaY9Ko9eDThvLp1tBaC0I=";
|
2019-04-20 02:11:05 +00:00
|
|
|
};
|
2015-01-30 17:59:22 +00:00
|
|
|
|
2021-03-24 04:06:36 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
doxygen
|
|
|
|
gettext
|
2022-10-23 03:06:54 +00:00
|
|
|
pkg-config
|
2021-03-24 04:06:36 +00:00
|
|
|
xmlto
|
|
|
|
];
|
|
|
|
|
2019-04-20 02:11:05 +00:00
|
|
|
buildInputs = [
|
2021-03-24 04:06:36 +00:00
|
|
|
bzip2
|
|
|
|
imagemagick
|
|
|
|
libgsf
|
2016-10-18 13:03:38 +00:00
|
|
|
];
|
2015-01-30 17:59:22 +00:00
|
|
|
|
2019-04-20 02:11:05 +00:00
|
|
|
configureFlags = [
|
2021-03-24 04:06:36 +00:00
|
|
|
"--disable-static"
|
|
|
|
"--enable-libpst-shared"
|
2022-10-23 03:06:54 +00:00
|
|
|
"--enable-python=no"
|
2019-04-20 02:11:05 +00: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 01:29:24 +00: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;
|
2022-10-23 03:06:54 +00:00
|
|
|
maintainers = [ ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = platforms.unix;
|
2015-01-30 17:59:22 +00:00
|
|
|
};
|
2022-10-23 03:06:54 +00:00
|
|
|
})
|