2021-01-21 20:00:13 +03:00
|
|
|
{ lib, stdenv, fetchurl, libtiff, libjpeg, zlib }:
|
2010-08-07 00:23:56 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-02-07 16:55:22 +03:00
|
|
|
name = "lcms2-2.12";
|
2010-08-07 00:23:56 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-02-07 02:08:04 +04:00
|
|
|
url = "mirror://sourceforge/lcms/${name}.tar.gz";
|
2021-02-07 16:55:22 +03:00
|
|
|
sha256 = "sha256-GGY5hehkEARVrD5QdiXEOMNxA1TYXly7fNQEPhH+EPU=";
|
2010-08-07 00:23:56 +04:00
|
|
|
};
|
|
|
|
|
2016-08-29 03:30:01 +03:00
|
|
|
outputs = [ "bin" "dev" "out" ];
|
2015-10-06 00:53:26 +03:00
|
|
|
|
2010-08-07 00:23:56 +04:00
|
|
|
propagatedBuildInputs = [ libtiff libjpeg zlib ];
|
|
|
|
|
2020-10-19 03:24:57 +03:00
|
|
|
# See https://trac.macports.org/ticket/60656
|
|
|
|
LDFLAGS = if stdenv.hostPlatform.isDarwin then "-Wl,-w" else null;
|
|
|
|
|
2021-01-21 20:00:13 +03:00
|
|
|
meta = with lib; {
|
2010-08-07 00:23:56 +04:00
|
|
|
description = "Color management engine";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "http://www.littlecms.com/";
|
2015-10-06 00:53:26 +03:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2010-08-07 00:23:56 +04:00
|
|
|
};
|
|
|
|
}
|