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