Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
24 lines
641 B
Nix
24 lines
641 B
Nix
{ lib, stdenv, fetchurl, pkg-config, glib, libgsf, libxml2, bzip2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libwpd";
|
|
version = "0.8.14";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/libwpd/libwpd-${version}.tar.gz";
|
|
sha256 = "1syli6i5ma10cwzpa61a18pyjmianjwsf6pvmvzsh5md6yk4yx01";
|
|
};
|
|
|
|
patches = [ ./gcc-0.8.patch ];
|
|
|
|
buildInputs = [ glib libgsf libxml2 ];
|
|
|
|
nativeBuildInputs = [ pkg-config bzip2 ];
|
|
|
|
meta = with lib; {
|
|
description = "Library for importing WordPerfect documents";
|
|
homepage = "https://libwpd.sourceforge.net";
|
|
license = with licenses; [ lgpl21 mpl20 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|