mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
531e4b80c9
Only acts on one-line dependency lists.
23 lines
629 B
Nix
23 lines
629 B
Nix
{ stdenv, fetchurl, pkgconfig, 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 = [ pkgconfig ];
|
|
buildInputs = [ cmake libgsf glib libxml2 ];
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${libxml2.dev}/include/libxml2";
|
|
|
|
meta = {
|
|
description = "Excellent MS Word filter lib, used in most Office suites";
|
|
license = stdenv.lib.licenses.lgpl2;
|
|
homepage = http://wvware.sourceforge.net;
|
|
};
|
|
}
|