2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, glib, libgsf, libxml2, bzip2 }:
|
2012-01-07 13:19:06 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-09 21:14:04 +00:00
|
|
|
pname = "libwpd";
|
|
|
|
version = "0.8.14";
|
2018-10-23 17:45:54 +00:00
|
|
|
|
2012-01-07 13:19:06 +00:00
|
|
|
src = fetchurl {
|
2021-11-09 21:14:04 +00:00
|
|
|
url = "mirror://sourceforge/libwpd/libwpd-${version}.tar.gz";
|
2012-01-07 13:19:06 +00:00
|
|
|
sha256 = "1syli6i5ma10cwzpa61a18pyjmianjwsf6pvmvzsh5md6yk4yx01";
|
|
|
|
};
|
2018-10-23 17:45:54 +00:00
|
|
|
|
2012-03-07 22:38:42 +00:00
|
|
|
patches = [ ./gcc-0.8.patch ];
|
|
|
|
|
2012-01-07 13:19:06 +00:00
|
|
|
buildInputs = [ glib libgsf libxml2 ];
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config bzip2 ];
|
2016-08-02 16:06:29 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-10-23 17:45:54 +00:00
|
|
|
description = "Library for importing WordPerfect documents";
|
2023-02-19 20:43:38 +00:00
|
|
|
homepage = "https://libwpd.sourceforge.net";
|
2018-10-23 17:45:54 +00:00
|
|
|
license = with licenses; [ lgpl21 mpl20 ];
|
|
|
|
platforms = platforms.unix;
|
2016-08-02 16:06:29 +00:00
|
|
|
};
|
2012-01-07 13:19:06 +00:00
|
|
|
}
|