2014-08-23 18:04:53 +04:00
|
|
|
{ stdenv, fetchurl, static ? false }:
|
2014-04-01 03:55:32 +04:00
|
|
|
|
|
|
|
with stdenv.lib;
|
2006-07-14 19:59:30 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2020-01-21 21:59:49 +03:00
|
|
|
name = "libjpeg-9d";
|
2013-06-11 15:41:33 +04:00
|
|
|
|
2003-11-06 18:24:19 +03:00
|
|
|
src = fetchurl {
|
2020-04-01 04:11:51 +03:00
|
|
|
url = "http://www.ijg.org/files/jpegsrc.v9d.tar.gz";
|
2020-01-21 21:59:49 +03:00
|
|
|
sha256 = "0clwys9lcqlxqgcw8s1gwfm5ix2zjlqpklmd3mbvqmj5ibj51jwr";
|
2003-11-06 18:24:19 +03:00
|
|
|
};
|
2013-06-11 15:41:33 +04:00
|
|
|
|
2014-04-01 03:55:32 +04:00
|
|
|
configureFlags = optional static "--enable-static --disable-shared";
|
2014-08-23 18:04:53 +04:00
|
|
|
|
2016-08-29 03:30:01 +03:00
|
|
|
outputs = [ "bin" "dev" "out" "man" ];
|
2013-06-11 15:41:33 +04:00
|
|
|
|
2009-10-29 17:13:07 +03:00
|
|
|
meta = {
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "http://www.ijg.org/";
|
2009-10-29 17:13:07 +03:00
|
|
|
description = "A library that implements the JPEG image file format";
|
2014-11-06 03:44:33 +03:00
|
|
|
license = stdenv.lib.licenses.free;
|
2016-08-02 20:50:55 +03:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-10-29 17:13:07 +03:00
|
|
|
};
|
2003-11-06 18:24:19 +03:00
|
|
|
}
|