nixpkgs/pkgs/development/libraries/lcms2/default.nix

25 lines
631 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, libtiff, libjpeg, zlib }:
stdenv.mkDerivation rec {
2021-02-07 13:55:22 +00:00
name = "lcms2-2.12";
src = fetchurl {
url = "mirror://sourceforge/lcms/${name}.tar.gz";
2021-02-07 13:55:22 +00:00
sha256 = "sha256-GGY5hehkEARVrD5QdiXEOMNxA1TYXly7fNQEPhH+EPU=";
};
outputs = [ "bin" "dev" "out" ];
propagatedBuildInputs = [ libtiff libjpeg zlib ];
2020-10-19 00:24:57 +00:00
# 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;
};
}