2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libwpd, zlib, librevenge }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libwpg-0.3.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/libwpg/${name}.tar.xz";
|
|
|
|
sha256 = "074x159immf139szkswv2zapnq75p7xk10dbha2p9193hgwggcwr";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libwpd zlib librevenge ];
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://libwpg.sourceforge.net";
|
|
|
|
description = "C++ library to parse WPG";
|
|
|
|
license = with licenses; [ lgpl21 mpl20 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|