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 {
|
2021-07-21 07:28:18 +00:00
|
|
|
pname = "libwpg";
|
|
|
|
version = "0.3.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-21 07:28:18 +00:00
|
|
|
url = "mirror://sourceforge/libwpg/${pname}-${version}.tar.xz";
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|