depot/third_party/nixpkgs/pkgs/tools/misc/wv2/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

22 lines
631 B
Nix

{ lib, stdenv, fetchurl, pkg-config, cmake, libgsf, glib, libxml2 }:
stdenv.mkDerivation rec {
name = "wv2-0.4.2";
src = fetchurl {
url = "mirror://sourceforge/wvware/${name}.tar.bz2";
sha256 = "1p1qxr8z5bsiq8pvlina3c8c1vjcb5d96bs3zz4jj3nb20wnsawz";
};
patches = [ ./fix-include.patch ];
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libgsf glib libxml2 ];
NIX_CFLAGS_COMPILE = "-I${libxml2.dev}/include/libxml2";
meta = {
description = "Excellent MS Word filter lib, used in most Office suites";
license = lib.licenses.lgpl2;
homepage = "http://wvware.sourceforge.net";
};
}