mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
bf414c9d4f
- there were many easy merge conflicts - cc-wrapper needed nontrivial changes Many other problems might've been created by interaction of the branches, but stdenv and a few other packages build fine now.
23 lines
534 B
Nix
23 lines
534 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 = [ "dev" "out" "man" "bin" ];
|
|
|
|
meta = {
|
|
homepage = http://www.ijg.org/;
|
|
description = "A library that implements the JPEG image file format";
|
|
license = stdenv.lib.licenses.free;
|
|
};
|
|
}
|