2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libwpd, zlib, librevenge }:
|
2010-09-22 11:04:41 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-25 18:54:04 -07:00
|
|
|
name = "libwpg-0.3.3";
|
2010-09-22 11:04:41 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-01-05 09:06:25 -08:00
|
|
|
url = "mirror://sourceforge/libwpg/${name}.tar.xz";
|
2019-03-25 18:54:04 -07:00
|
|
|
sha256 = "074x159immf139szkswv2zapnq75p7xk10dbha2p9193hgwggcwr";
|
2010-09-22 11:04:41 -07:00
|
|
|
};
|
|
|
|
|
2014-08-11 14:39:48 -07:00
|
|
|
buildInputs = [ libwpd zlib librevenge ];
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2010-09-22 11:04:41 -07:00
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://libwpg.sourceforge.net";
|
2010-09-22 11:04:41 -07:00
|
|
|
description = "C++ library to parse WPG";
|
2018-10-23 10:50:50 -07:00
|
|
|
license = with licenses; [ lgpl21 mpl20 ];
|
|
|
|
platforms = platforms.all;
|
2010-09-22 11:04:41 -07:00
|
|
|
};
|
|
|
|
}
|