jbig2dec: 0.14 -> 0.16

This commit is contained in:
Robert Scott 2019-09-28 00:37:26 +01:00 committed by Frederik Rietdijk
parent 63905a7b6f
commit 90a48bbfa9

View File

@ -1,19 +1,21 @@
{ stdenv, fetchurl, python }:
{ stdenv, fetchurl, python, autoconf }:
stdenv.mkDerivation rec {
name = "jbig2dec-0.14";
name = "jbig2dec-0.16";
src = fetchurl {
url = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922/${name}.tar.gz";
sha256 = "0k01hp0q4275fj4rbr1gy64svfraw5w7wvwl08yjhvsnpb1rid11";
url = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs927/${name}.tar.gz";
sha256 = "00h61y7bh3z6mqfzxyb318gyh0f8jwarg4hvlrm83rqps8avzxm4";
};
postPatch = ''
patchShebangs test_jbig2dec.py
'';
buildInputs = [ autoconf ];
checkInputs = [ python ];
doCheck = false; # fails 1 of 4 tests
doCheck = true;
meta = {
homepage = https://www.jbig2dec.com/;