nixpkgs/pkgs/development/libraries/jasper/default.nix
Franz Pletz 624de33091
jasper: 1.900.2 -> 1.900.21 (security)
Incorporates fixes from all patches for the CVEs listed and some more
security-related issues like:

  http://www.openwall.com/lists/oss-security/2016/11/04/11
2016-11-06 03:19:46 +01:00

27 lines
682 B
Nix

{ stdenv, fetchurl, fetchpatch, libjpeg, autoreconfHook }:
stdenv.mkDerivation rec {
name = "jasper-1.900.21";
src = fetchurl {
url = "http://www.ece.uvic.ca/~mdadams/jasper/software/${name}.tar.gz";
sha256 = "1cypmlzq5vmbacsn8n3ls9p7g64scv3fzx88qf8c270dz10s5j79";
};
# newer reconf to recognize a multiout flag
nativeBuildInputs = [ autoreconfHook ];
propagatedBuildInputs = [ libjpeg ];
configureFlags = "--enable-shared";
outputs = [ "bin" "dev" "out" "man" ];
enableParallelBuilding = true;
meta = {
homepage = https://www.ece.uvic.ca/~frodo/jasper/;
description = "JPEG2000 Library";
platforms = stdenv.lib.platforms.unix;
};
}