depot/third_party/nixpkgs/pkgs/development/libraries/libjpeg/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
581 B
Nix

{ stdenv, fetchurl, static ? false }:
with stdenv.lib;
stdenv.mkDerivation {
name = "libjpeg-9d";
src = fetchurl {
url = "http://www.ijg.org/files/jpegsrc.v9d.tar.gz";
sha256 = "0clwys9lcqlxqgcw8s1gwfm5ix2zjlqpklmd3mbvqmj5ibj51jwr";
};
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;
};
}