libjpeg-turbo: major update, and populate meta

TODO: also some darwin packaging improvements were in the news.
Maybe it would be suitable to have this as the default libjpeg in there.
This commit is contained in:
Vladimír Čunát 2015-01-13 16:55:58 +01:00
parent 309b956215
commit 51fdc6e238

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, nasm }: { stdenv, fetchurl, nasm }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libjpeg-turbo-1.3.1"; name = "libjpeg-turbo-1.4.0";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/libjpeg-turbo/${name}.tar.gz"; url = "mirror://sourceforge/libjpeg-turbo/${name}.tar.gz";
sha256 = "1fbgcvlnn3d5gvf0v9jnlcabpv2z3nwxclzyabahxi6x2xs90cn1"; sha256 = "1vmv5ciqq98gi2ishqbvlx9hsk7sl06lr6xkcgw480jiddadhfnr";
}; };
buildInputs = [ nasm ]; buildInputs = [ nasm ];
@ -13,9 +13,12 @@ stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
checkTarget = "test"; checkTarget = "test";
meta = { meta = with stdenv.lib; {
homepage = http://libjpeg-turbo.virtualgl.org/; homepage = http://libjpeg-turbo.virtualgl.org/;
description = "A faster (using SIMD) libjpeg implementation"; description = "A faster (using SIMD) libjpeg implementation";
license = stdenv.lib.licenses.free; license = licenses.ijg; # and some parts under other BSD-style licenses
platforms = platforms.all;
maintainers = [ maintainers.vcunat ];
}; };
} }