1 { lib, stdenv, fetchurl, libtiff, gettext }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/minidjvu/minidjvu-${version}.tar.gz";
9 sha256 = "0jmpvy4g68k6xgplj9zsl6brg6vi81mx3nx2x9hfbr1f4zh95j79";
13 sed -i s,/usr/bin/gzip,gzip, Makefile.in
16 buildInputs = [ libtiff gettext ];
23 homepage = "https://djvu.sourceforge.net/djview4.html";
24 description = "Black-and-white djvu page encoder and decoder that use interpage information";
25 license = lib.licenses.gpl2Plus;
27 platforms = lib.platforms.unix;
28 mainProgram = "minidjvu";
29 knownVulnerabilities = [
30 "minidjvu is vulnerable to a number of out-of-bound read vulnerabilities, potentially causing denials of service (CVE-2017-12441, CVE-2017-12442, CVE-2017-12443, CVE-2017-12444, CVE-2017-12445)"