lol
1{ stdenv, fetchurl, nasm }:
2
3stdenv.mkDerivation rec {
4 name = "libjpeg-turbo-1.4.1";
5
6 src = fetchurl {
7 url = "mirror://sourceforge/libjpeg-turbo/${name}.tar.gz";
8 sha256 = "027vz97064bjmwj7gdw2p47y1437w08j54frpgzmnql5rvabmxab";
9 };
10
11 buildInputs = [ nasm ];
12
13 doCheck = true;
14 checkTarget = "test";
15
16 meta = with stdenv.lib; {
17 homepage = http://libjpeg-turbo.virtualgl.org/;
18 description = "A faster (using SIMD) libjpeg implementation";
19 license = licenses.ijg; # and some parts under other BSD-style licenses
20 maintainers = [ maintainers.vcunat ];
21 # upstream supports darwin (and others), but it doesn't build currently
22 platforms = platforms.all;
23 hydraPlatforms = platforms.linux;
24 };
25}
26