2012-08-02 16:58:25 +01:00
|
|
|
{ stdenv, fetchurl, nasm }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-03-23 11:25:20 +00:00
|
|
|
name = "libjpeg-turbo-1.3.1";
|
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";
|
2014-03-23 11:25:20 +00:00
|
|
|
sha256 = "1fbgcvlnn3d5gvf0v9jnlcabpv2z3nwxclzyabahxi6x2xs90cn1";
|
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";
|
2014-11-06 00:44:33 +00:00
|
|
|
license = stdenv.lib.licenses.free;
|
2010-07-10 09:45:44 +01:00
|
|
|
};
|
|
|
|
}
|