2014-11-06 01:44:33 +01:00
|
|
|
{ stdenv, fetchurl, static ? false }:
|
2014-04-01 01:55:32 +02:00
|
|
|
|
|
|
|
with stdenv.lib;
|
2006-07-14 17:59:30 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-08-26 21:05:40 +02:00
|
|
|
name = "libjpeg-8d";
|
2014-11-06 01:44:33 +01:00
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
src = fetchurl {
|
2012-08-26 21:05:40 +02:00
|
|
|
url = http://www.ijg.org/files/jpegsrc.v8d.tar.gz;
|
|
|
|
sha256 = "1cz0dy05mgxqdgjf52p54yxpyy95rgl30cnazdrfmw7hfca9n0h0";
|
2003-11-06 16:24:19 +01:00
|
|
|
};
|
2014-04-01 01:55:32 +02:00
|
|
|
|
|
|
|
configureFlags = optional static "--enable-static --disable-shared";
|
2014-11-06 01:44:33 +01:00
|
|
|
|
2009-10-29 15:13:07 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.ijg.org/;
|
|
|
|
description = "A library that implements the JPEG image file format";
|
2014-11-06 01:44:33 +01:00
|
|
|
license = stdenv.lib.licenses.free;
|
2009-10-29 15:13:07 +01:00
|
|
|
};
|
2003-11-06 16:24:19 +01:00
|
|
|
}
|