11 stdenv.mkDerivation rec {
16 url = "mirror://sourceforge/project/libwpd/librevenge/librevenge-${version}/librevenge-${version}.tar.xz";
17 sha256 = "sha256-EG0MRLtkCLE0i54EZWZvqDuBYXdmWiLNAX6IbBqu6zQ=";
20 nativeBuildInputs = [ pkg-config ];
27 # Clang and gcc-7 generate warnings, and
28 # -Werror causes these warnings to be interpreted as errors
29 # Simplest solution: disable -Werror
30 configureFlags = [ "--disable-werror" ];
32 # Fix an issue with boost 1.59
33 # This is fixed upstream so please remove this when updating
35 sed -i 's,-DLIBREVENGE_BUILD,\0 -DBOOST_ERROR_CODE_HEADER_ONLY,g' src/lib/Makefile.in
39 description = "Base library for writing document import filters";
40 license = licenses.mpl20;
41 maintainers = with maintainers; [ raskin ];
42 platforms = platforms.unix;