15 stdenv.mkDerivation rec {
20 url = "mirror://sourceforge/libebook/libe-book-${version}/libe-book-${version}.tar.xz";
21 hash = "sha256-fo2P808ngxrKO8b5zFMsL5DSBXx3iWO4hP89HjTf4fk=";
24 # restore compatibility with icu68+
26 substituteInPlace src/lib/EBOOKCharsetConverter.cpp --replace \
27 "TRUE, TRUE, &status)" \
28 "true, true, &status)"
30 nativeBuildInputs = [ pkg-config ];
43 env.NIX_CFLAGS_COMPILE = "-Wno-error=unused-function";
46 description = "Library for import of reflowable e-book formats";
47 license = licenses.lgpl21Plus;
48 maintainers = with maintainers; [ raskin ];
49 platforms = platforms.unix;