nixpkgs/pkgs/tools/misc/wv2/default.nix

24 lines
654 B
Nix
Raw Normal View History

2021-01-15 10:19:50 +01:00
{ lib, stdenv, fetchurl, pkg-config, cmake, libgsf, glib, libxml2 }:
2013-02-23 19:29:02 +01:00
stdenv.mkDerivation rec {
pname = "wv2";
version = "0.4.2";
src = fetchurl {
url = "mirror://sourceforge/wvware/wv2-${version}.tar.bz2";
2013-02-23 19:29:02 +01:00
sha256 = "1p1qxr8z5bsiq8pvlina3c8c1vjcb5d96bs3zz4jj3nb20wnsawz";
};
patches = [ ./fix-include.patch ];
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libgsf glib libxml2 ];
2013-02-23 19:29:02 +01:00
2017-02-27 13:34:16 +01:00
NIX_CFLAGS_COMPILE = "-I${libxml2.dev}/include/libxml2";
2013-02-23 19:29:02 +01:00
meta = {
description = "Excellent MS Word filter lib, used in most Office suites";
2021-01-15 10:19:50 +01:00
license = lib.licenses.lgpl2;
homepage = "http://wvware.sourceforge.net";
};
}