2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, zlib, pkg-config, glib, libgsf, libxml2, librevenge }:
|
2010-07-28 15:35:01 +00:00
|
|
|
|
2012-01-05 17:06:25 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-11-09 21:14:04 +00:00
|
|
|
pname = "libwpd";
|
|
|
|
version = "0.10.0";
|
2021-01-19 21:20:11 +00:00
|
|
|
|
2005-10-26 12:51:33 +00:00
|
|
|
src = fetchurl {
|
2021-11-09 21:14:04 +00:00
|
|
|
url = "mirror://sourceforge/libwpd/libwpd-${version}.tar.xz";
|
2014-08-11 21:39:48 +00:00
|
|
|
sha256 = "0b6krzr6kxzm89g6bapn805kdayq70hn16n5b5wfs2lwrf0ag2wx";
|
2005-10-26 12:51:33 +00:00
|
|
|
};
|
2021-01-19 21:20:11 +00:00
|
|
|
|
2014-08-11 21:39:48 +00:00
|
|
|
buildInputs = [ glib libgsf libxml2 zlib librevenge ];
|
2012-01-05 17:06:25 +00:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-07-02 00:17:50 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-07-02 00:17:50 +00:00
|
|
|
description = "A library for importing and exporting WordPerfect documents";
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://libwpd.sourceforge.net/";
|
2015-07-02 00:17:50 +00:00
|
|
|
license = licenses.lgpl21;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = platforms.unix;
|
2015-07-02 00:17:50 +00:00
|
|
|
};
|
2005-10-26 12:51:33 +00:00
|
|
|
}
|