jbig2dec: 0.17 -> 0.18

Fixes https://nvd.nist.gov/vuln/detail/CVE-2020-12268

autoreconfHook was added because the build was failing on missing
install-sh.
This commit is contained in:
Martin Milata 2020-05-14 13:50:15 +02:00 committed by Frederik Rietdijk
parent e761cfe50a
commit d1dcd310dd

View File

@ -1,18 +1,19 @@
{ stdenv, fetchurl, python3, autoconf }: { stdenv, fetchurl, python3, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "jbig2dec-0.17"; pname = "jbig2dec";
version = "0.18";
src = fetchurl { src = fetchurl {
url = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs950/${name}.tar.gz"; url = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs952/${pname}-${version}.tar.gz";
sha256 = "0wpvslmwazia3z8gyk343kbq6yj47pxr4x5yjvx332v309qssazp"; sha256 = "0pigfw2v0ppvr0lbysm69gx0zsa5q2q92yrb8af2j3im6x97f6cy";
}; };
postPatch = '' postPatch = ''
patchShebangs test_jbig2dec.py patchShebangs test_jbig2dec.py
''; '';
buildInputs = [ autoconf ]; buildInputs = [ autoreconfHook ];
checkInputs = [ python3 ]; checkInputs = [ python3 ];
doCheck = true; doCheck = true;