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