1{
2 lib,
3 stdenv,
4 fetchurl,
5 pkg-config,
6 libwpd,
7 zlib,
8 librevenge,
9 boost,
10}:
11
12stdenv.mkDerivation rec {
13 pname = "libwpg";
14 version = "0.3.4";
15
16 src = fetchurl {
17 url = "mirror://sourceforge/libwpg/${pname}-${version}.tar.xz";
18 hash = "sha256-tV/alEDR4HBjDrJIfYuGl89BLCFKJ8runfac7HwATeM=";
19 };
20
21 buildInputs = [
22 libwpd
23 zlib
24 librevenge
25 boost
26 ];
27 nativeBuildInputs = [ pkg-config ];
28
29 meta = with lib; {
30 homepage = "https://libwpg.sourceforge.net";
31 description = "C++ library to parse WPG";
32 license = with licenses; [
33 lgpl21
34 mpl20
35 ];
36 platforms = platforms.all;
37 };
38}