nixpkgs/pkgs/development/libraries/jbig2dec/default.nix

25 lines
641 B
Nix
Raw Normal View History

2018-08-08 19:36:13 +01:00
{ stdenv, fetchurl, python }:
2013-03-09 17:44:41 +00:00
stdenv.mkDerivation rec {
name = "jbig2dec-0.14";
2013-03-09 17:44:41 +00:00
src = fetchurl {
url = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922/${name}.tar.gz";
sha256 = "0k01hp0q4275fj4rbr1gy64svfraw5w7wvwl08yjhvsnpb1rid11";
};
2013-03-09 17:44:41 +00:00
2018-08-08 19:36:13 +01:00
postPatch = ''
patchShebangs test_jbig2dec.py
'';
checkInputs = [ python ];
doCheck = false; # fails 1 of 4 tests
meta = {
homepage = https://www.jbig2dec.com/;
description = "Decoder implementation of the JBIG2 image compression format";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
};
}