mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
mupdf: 1.14.0 -> 1.16.1
This commit is contained in:
parent
f18a6d5d8f
commit
1ba3d1a591
|
@ -14,24 +14,17 @@ let
|
|||
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
version = "1.14.0";
|
||||
version = "1.16.1";
|
||||
pname = "mupdf";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://mupdf.com/downloads/archive/${pname}-${version}-source.tar.gz";
|
||||
sha256 = "093p7lv6pgyymagn28n58fs0np928r0i5p2az9cc4gwccwx4hhy4";
|
||||
sha256 = "0iz4ickj52fxjp8crg573kjrl4viq279g589isdpgpckslysf7g7";
|
||||
};
|
||||
|
||||
patches =
|
||||
# Use shared libraries to decrease size
|
||||
[( fetchpatch
|
||||
{
|
||||
name = "CVE-2018-18662";
|
||||
url = "http://git.ghostscript.com/?p=mupdf.git;a=patch;h=164ddc22ee0d5b63a81d5148f44c37dd132a9356";
|
||||
sha256 = "1jkzh20n3b854871h86cy5y7fvy0d5wyqy51b3fg6gj3a0jqpzzd";
|
||||
}
|
||||
)]
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin) ./mupdf-1.14-shared_libs.patch
|
||||
stdenv.lib.optional (!stdenv.isDarwin) ./mupdf-1.14-shared_libs.patch
|
||||
++ stdenv.lib.optional stdenv.isDarwin ./darwin.patch
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in a new issue