at v192 20 lines 492 B view raw
1{ stdenv, fetchurl, static ? false }: 2 3with stdenv.lib; 4 5stdenv.mkDerivation { 6 name = "libjpeg-8d"; 7 8 src = fetchurl { 9 url = http://www.ijg.org/files/jpegsrc.v8d.tar.gz; 10 sha256 = "1cz0dy05mgxqdgjf52p54yxpyy95rgl30cnazdrfmw7hfca9n0h0"; 11 }; 12 13 configureFlags = optional static "--enable-static --disable-shared"; 14 15 meta = { 16 homepage = http://www.ijg.org/; 17 description = "A library that implements the JPEG image file format"; 18 license = stdenv.lib.licenses.free; 19 }; 20}