mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
f6b3e2ca54
Merge #1399.
24 lines
542 B
Nix
24 lines
542 B
Nix
{ stdenv, fetchurl, nasm }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libjpeg-turbo-1.3.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/libjpeg-turbo/${name}.tar.gz";
|
|
sha256 = "0d0jwdmj3h89bxdxlwrys2mw18mqcj4rzgb5l2ndpah8zj600mr6";
|
|
};
|
|
|
|
patches = [ ./libjpeg-turbo-1.3.0-CVE-2013-6629-and-6630.patch ];
|
|
|
|
buildInputs = [ nasm ];
|
|
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
|
|
meta = {
|
|
homepage = http://libjpeg-turbo.virtualgl.org/;
|
|
description = "A faster (using SIMD) libjpeg implementation";
|
|
license = "free";
|
|
};
|
|
}
|