nixpkgs/pkgs/development/libraries/jbig2dec/default.nix
Vladimír Čunát 336bc8283b
Re-Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"
This reverts commit c778945806.

I believe this is exactly what brings the staging branch into
the right shape after the last merge from master (through staging-next);
otherwise part of staging changes would be lost
(due to being already reachable from master but reverted).
2020-10-26 08:19:17 +01:00

28 lines
711 B
Nix

{ stdenv, fetchurl, python3, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "jbig2dec";
version = "0.19";
src = fetchurl {
url = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9533/${pname}-${version}.tar.gz";
sha256 = "0dwa24kjqyg9hmm40fh048sdxfpnasz43l2rm8wlkw1qbdlpd517";
};
postPatch = ''
patchShebangs test_jbig2dec.py
'';
nativeBuildInputs = [ autoreconfHook ];
checkInputs = [ python3 ];
doCheck = true;
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;
};
}