2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, cmake, libgsf, glib, libxml2 }:
|
2009-05-28 19:22:32 +00:00
|
|
|
|
2013-02-23 18:29:02 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-08-02 09:38:45 +00:00
|
|
|
pname = "wv2";
|
|
|
|
version = "0.4.2";
|
2009-05-28 19:22:32 +00:00
|
|
|
src = fetchurl {
|
2021-08-02 09:38:45 +00:00
|
|
|
url = "mirror://sourceforge/wvware/wv2-${version}.tar.bz2";
|
2013-02-23 18:29:02 +00:00
|
|
|
sha256 = "1p1qxr8z5bsiq8pvlina3c8c1vjcb5d96bs3zz4jj3nb20wnsawz";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./fix-include.patch ];
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ libgsf glib libxml2 ];
|
2013-02-23 18:29:02 +00:00
|
|
|
|
2023-02-19 19:23:32 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-I${libxml2.dev}/include/libxml2";
|
2017-02-27 12:34:16 +00:00
|
|
|
|
2013-02-23 18:29:02 +00:00
|
|
|
meta = {
|
|
|
|
description = "Excellent MS Word filter lib, used in most Office suites";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.lgpl2;
|
2023-02-19 20:43:38 +00:00
|
|
|
homepage = "https://wvware.sourceforge.net";
|
2009-05-28 19:22:32 +00:00
|
|
|
};
|
|
|
|
}
|