base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / lc / lcms2 / package.nix
blobab984884073a3546518c476b30ee6df2f6d3b09d
1 { lib, stdenv, fetchurl, libtiff, libjpeg, zlib }:
3 stdenv.mkDerivation rec {
4   pname = "lcms2";
5   version = "2.16";
7   src = fetchurl {
8     url = "mirror://sourceforge/lcms/${pname}-${version}.tar.gz";
9     hash = "sha256-2HPTSti5tM6gEGMfGmIo0gh0deTcXnY+uBrMI9nUWlE=";
10   };
12   outputs = [ "bin" "dev" "out" ];
14   propagatedBuildInputs = [ libtiff libjpeg zlib ];
16   # See https://trac.macports.org/ticket/60656
17   LDFLAGS = if stdenv.hostPlatform.isDarwin then "-Wl,-w" else null;
19   meta = with lib; {
20     description = "Color management engine";
21     homepage = "http://www.littlecms.com/";
22     license = licenses.mit;
23     platforms = platforms.all;
24   };