2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, static ? false }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
with lib;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libjpeg-9d";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.ijg.org/files/jpegsrc.v9d.tar.gz";
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "1vkip9rz4hz8f31a2kl7wl7f772wg1z0fg1fbd1653wzwlxllhvc";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = optional static "--enable-static --disable-shared";
|
|
|
|
|
|
|
|
outputs = [ "bin" "dev" "out" "man" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.ijg.org/";
|
|
|
|
description = "A library that implements the JPEG image file format";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.free;
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|