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