blob: e1f6c3d2212c8eae3450c9b8bedf0287017ce8a6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ lib, stdenv, fetchurl, libtiff, libjpeg, zlib }:
stdenv.mkDerivation rec {
pname = "lcms2";
version = "2.15";
src = fetchurl {
url = "mirror://sourceforge/lcms/${pname}-${version}.tar.gz";
sha256 = "sha256-sgy8vQ9QNDO+Kk6BRiEG+mEFCjUHTcJKTjVnktlxqzk=";
};
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;
};
}
|