lol
1{
2 lib,
3 stdenv,
4 fetchurl,
5 autoreconfHook,
6 bzip2,
7 doxygen,
8 gettext,
9 imagemagick,
10 libgsf,
11 pkg-config,
12 xmlto,
13}:
14
15stdenv.mkDerivation (finalAttrs: {
16 pname = "libpst";
17 version = "0.6.76";
18
19 src = fetchurl {
20 url = "http://www.five-ten-sg.com/libpst/packages/libpst-${finalAttrs.version}.tar.gz";
21 hash = "sha256-PSkb7rvbSNK5NGCLwGGVtkHaY9Ko9eDThvLp1tBaC0I=";
22 };
23
24 nativeBuildInputs = [
25 autoreconfHook
26 doxygen
27 gettext
28 pkg-config
29 xmlto
30 ];
31
32 buildInputs = [
33 bzip2
34 imagemagick
35 libgsf
36 ];
37
38 configureFlags = [
39 "--disable-static"
40 "--enable-libpst-shared"
41 "--enable-python=no"
42 ];
43
44 doCheck = true;
45
46 meta = with lib; {
47 homepage = "https://www.five-ten-sg.com/libpst/";
48 description = "Library to read PST (MS Outlook Personal Folders) files";
49 license = licenses.gpl2Plus;
50 maintainers = [ ];
51 platforms = platforms.unix;
52 };
53})