ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
24 lines
632 B
Nix
24 lines
632 B
Nix
{ lib, stdenv, fetchurl, libtiff, libjpeg, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "lcms2-2.11";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/lcms/${name}.tar.gz";
|
|
sha256 = "0bkpf315925lhmd9i4mzjnkq5dh255r1lms0c0vzzkfpwk4bjjfw";
|
|
};
|
|
|
|
outputs = [ "bin" "dev" "out" ];
|
|
|
|
propagatedBuildInputs = [ libtiff libjpeg zlib ];
|
|
|
|
# See https://trac.macports.org/ticket/60656
|
|
LDFLAGS = if stdenv.hostPlatform.isDarwin then "-Wl,-w" else null;
|
|
|
|
meta = with lib; {
|
|
description = "Color management engine";
|
|
homepage = "http://www.littlecms.com/";
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|