nixpkgs/pkgs/development/libraries/libjpeg-turbo/default.nix
Vladimír Čunát 51fdc6e238 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.
2015-01-13 16:57:18 +01:00

24 lines
618 B
Nix

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