My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/libraries/lcms2/default.nix

25 lines
661 B

{ lib, stdenv, fetchurl, libtiff, libjpeg, zlib }:
stdenv.mkDerivation rec {
pname = "lcms2";
version = "2.13.1";
src = fetchurl {
url = "mirror://sourceforge/lcms/${pname}-${version}.tar.gz";
sha256 = "sha256-1HPnlueyfFrwG9bRVS1CtFtDRX5xgs6ZA/OLt0ggO4g=";
};
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;
};
}