2013-02-23 18:29:02 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, cmake, libgsf, glib, libxml2 }:
|
2009-05-28 20:22:32 +01:00
|
|
|
|
2013-02-23 18:29:02 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "wv2-0.4.2";
|
2009-05-28 20:22:32 +01:00
|
|
|
src = fetchurl {
|
2013-02-23 18:29:02 +00:00
|
|
|
url = "mirror://sourceforge/wvware/${name}.tar.bz2";
|
|
|
|
sha256 = "1p1qxr8z5bsiq8pvlina3c8c1vjcb5d96bs3zz4jj3nb20wnsawz";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./fix-include.patch ];
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig cmake libgsf glib libxml2 ];
|
|
|
|
|
2017-02-27 12:34:16 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${libxml2.dev}/include/libxml2";
|
|
|
|
|
2013-02-23 18:29:02 +00:00
|
|
|
meta = {
|
|
|
|
description = "Excellent MS Word filter lib, used in most Office suites";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl2;
|
2013-02-23 18:29:02 +00:00
|
|
|
homepage = http://wvware.sourceforge.net;
|
2009-05-28 20:22:32 +01:00
|
|
|
};
|
|
|
|
}
|