1{ stdenv, fetchurl, autoreconfHook, boost, libgsf,
2 pkgconfig, bzip2, xmlto, gettext, imagemagick, doxygen }:
3
4stdenv.mkDerivation rec {
5 name = "libpst-0.6.74";
6
7 src = fetchurl {
8 url = "http://www.five-ten-sg.com/libpst/packages/${name}.tar.gz";
9 sha256 = "0dzx8jniz7mczbbp08zfrl46h27hyfrsnjxmka9pi5aawzfdm1zp";
10 };
11
12 nativeBuildInputs = [ autoreconfHook pkgconfig ];
13 buildInputs = [
14 boost libgsf bzip2
15 xmlto gettext imagemagick doxygen
16 ];
17
18 configureFlags = [
19 "--enable-python=no"
20 ];
21
22 doCheck = true;
23
24 meta = with stdenv.lib; {
25 homepage = https://www.five-ten-sg.com/libpst/;
26 description = "A library to read PST (MS Outlook Personal Folders) files";
27 license = licenses.gpl2;
28 maintainers = [maintainers.tohl];
29 platforms = platforms.unix;
30 };
31}