nixpkgs/pkgs/development/libraries/libpst/default.nix

53 lines
913 B
Nix
Raw Normal View History

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