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

36 lines
897 B
Nix
Raw Normal View History

2015-10-03 13:37:07 +01:00
{ stdenv, fetchurl, unzip, libjpeg, autoreconfHook }:
stdenv.mkDerivation rec {
name = "jasper-1.900.1";
src = fetchurl {
url = "http://www.ece.uvic.ca/~mdadams/jasper/software/${name}.zip";
sha256 = "154l7zk7yh3v8l2l6zm5s2alvd2fzkp6c9i18iajfbna5af5m43b";
};
patches = [
2016-02-27 20:48:29 +00:00
./jasper-CVE-2016-1867.diff
./jasper-CVE-2014-8137-variant2.diff
./jasper-CVE-2014-8137-noabort.diff
./jasper-CVE-2014-8138.diff
./jasper-CVE-2014-8157.diff
./jasper-CVE-2014-8158.diff
./jasper-CVE-2014-9029.diff
];
2015-10-03 13:37:07 +01:00
# newer reconf to recognize a multiout flag
2014-08-30 18:11:52 +01:00
nativeBuildInputs = [ unzip autoreconfHook ];
propagatedBuildInputs = [ libjpeg ];
configureFlags = "--enable-shared";
outputs = [ "dev" "out" "man" "bin" ];
enableParallelBuilding = true;
meta = {
homepage = https://www.ece.uvic.ca/~frodo/jasper/;
description = "JPEG2000 Library";
};
}