1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libjpeg/default.nix

24 lines
577 B
Nix
Raw Normal View History

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