2012-08-02 16:58:25 +01:00
|
|
|
{ stdenv, fetchurl, nasm }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-05-30 14:11:43 +01:00
|
|
|
name = "libjpeg-turbo-1.3.0";
|
2010-07-10 09:45:44 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-08-02 16:58:25 +01:00
|
|
|
url = "mirror://sourceforge/libjpeg-turbo/${name}.tar.gz";
|
2013-05-30 14:11:43 +01:00
|
|
|
sha256 = "0d0jwdmj3h89bxdxlwrys2mw18mqcj4rzgb5l2ndpah8zj600mr6";
|
2010-07-10 09:45:44 +01:00
|
|
|
};
|
|
|
|
|
2013-12-20 04:44:52 +00:00
|
|
|
patches = [ ./libjpeg-turbo-1.3.0-CVE-2013-6629-and-6630.patch ];
|
|
|
|
|
2010-07-10 09:45:44 +01:00
|
|
|
buildInputs = [ nasm ];
|
2012-08-02 16:58:25 +01:00
|
|
|
|
2013-05-30 14:11:43 +01:00
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
|
2010-07-10 09:45:44 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://libjpeg-turbo.virtualgl.org/;
|
|
|
|
description = "A faster (using SIMD) libjpeg implementation";
|
|
|
|
license = "free";
|
|
|
|
};
|
|
|
|
}
|