1 { lib, stdenv, fetchurl, boost, doxygen, gperf, pkg-config, librevenge, libxml2, perl }:
3 stdenv.mkDerivation rec {
8 url = "https://dev-www.libreoffice.org/src/libabw/${pname}-${version}.tar.xz";
9 sha256 = "1vbfrmnvib3cym0yyyabnd8xpx4f7wp20vnn09s6dln347fajqz7";
12 # Boost 1.59 compatability fix
13 # Attempt removing when updating
15 sed -i 's,^CPPFLAGS.*,\0 -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED,' src/lib/Makefile.in
18 nativeBuildInputs = [ pkg-config ];
19 buildInputs = [ boost doxygen gperf librevenge libxml2 perl ];
22 homepage = "https://wiki.documentfoundation.org/DLP/Libraries/libabw";
23 description = "Library parsing abiword documents";
24 platforms = platforms.unix;
25 license = licenses.mpl20;