nixpkgs/pkgs/applications/misc/djvulibre/default.nix

46 lines
964 B
Nix
Raw Normal View History

{ stdenv
, fetchurl
, libjpeg
, libtiff
, librsvg
, libiconv
}:
stdenv.mkDerivation rec {
pname = "djvulibre";
version = "3.5.27";
src = fetchurl {
url = "mirror://sourceforge/djvu/${pname}-${version}.tar.gz";
sha256 = "0psh3zl9dj4n4r3lx25390nx34xz0bg0ql48zdskhq354ljni5p6";
};
outputs = [ "bin" "dev" "out" ];
2015-10-28 19:36:40 +01:00
buildInputs = [
libjpeg
libtiff
librsvg
libiconv
];
patches = [
./CVE-2019-18804.patch
# This one is needed to make the following
# two CVE patches apply cleanly
./fix_hongfuzz_crash.patch
./CVE-2019-15142.patch
./CVE-2019-15143.patch
./CVE-2019-15144.patch
./CVE-2019-15145.patch
];
2015-03-27 22:09:22 +01:00
meta = with stdenv.lib; {
description = "The big set of CLI tools to make/modify/optimize/show/export DJVU files";
homepage = "http://djvu.sourceforge.net";
2015-03-27 22:09:22 +01:00
license = licenses.gpl2;
maintainers = with maintainers; [ Anton-Latukha ];
2015-03-27 22:09:22 +01:00
platforms = platforms.all;
};
}