nixpkgs-suyu/pkgs/development/libraries/libjpeg/default.nix

24 lines
577 B
Nix
Raw Normal View History

{ stdenv, fetchurl, static ? false }:
with stdenv.lib;
stdenv.mkDerivation {
2020-01-21 19:59:49 +01:00
name = "libjpeg-9d";
src = fetchurl {
2020-01-21 19:59:49 +01:00
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;
};
}