nixpkgs/pkgs/development/libraries/libjpeg-turbo/default.nix

24 lines
542 B
Nix
Raw Normal View History

{ stdenv, fetchurl, nasm }:
stdenv.mkDerivation rec {
2013-05-30 14:11:43 +01:00
name = "libjpeg-turbo-1.3.0";
src = fetchurl {
url = "mirror://sourceforge/libjpeg-turbo/${name}.tar.gz";
2013-05-30 14:11:43 +01:00
sha256 = "0d0jwdmj3h89bxdxlwrys2mw18mqcj4rzgb5l2ndpah8zj600mr6";
};
patches = [ ./libjpeg-turbo-1.3.0-CVE-2013-6629-and-6630.patch ];
buildInputs = [ nasm ];
2013-05-30 14:11:43 +01:00
doCheck = true;
checkTarget = "test";
meta = {
homepage = http://libjpeg-turbo.virtualgl.org/;
description = "A faster (using SIMD) libjpeg implementation";
license = "free";
};
}