mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
a17216af4c
Make either 'bin' or 'out' the first output.
24 lines
577 B
Nix
24 lines
577 B
Nix
{ stdenv, fetchurl, static ? false }:
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libjpeg-8d";
|
|
|
|
src = fetchurl {
|
|
url = http://www.ijg.org/files/jpegsrc.v8d.tar.gz;
|
|
sha256 = "1cz0dy05mgxqdgjf52p54yxpyy95rgl30cnazdrfmw7hfca9n0h0";
|
|
};
|
|
|
|
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 = stdenv.lib.licenses.free;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|