forked from mirrors/nixpkgs
24 lines
565 B
Nix
24 lines
565 B
Nix
{ lib, stdenv, fetchurl, static ? false }:
|
|
|
|
with lib;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libjpeg-9d";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.ijg.org/files/jpegsrc.v9d.tar.gz";
|
|
sha256 = "1vkip9rz4hz8f31a2kl7wl7f772wg1z0fg1fbd1653wzwlxllhvc";
|
|
};
|
|
|
|
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";
|
|
license = lib.licenses.free;
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|