From 2d9d69cb63afe9c68b2871a97397ad9a0d399445 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Fri, 6 Aug 2010 20:23:56 +0000 Subject: [PATCH] Add lcms2 svn path=/nixpkgs/trunk/; revision=23012 --- pkgs/development/libraries/lcms2/default.nix | 18 ++++++++++++++++++ pkgs/top-level/all-packages.nix | 6 +++++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/libraries/lcms2/default.nix diff --git a/pkgs/development/libraries/lcms2/default.nix b/pkgs/development/libraries/lcms2/default.nix new file mode 100644 index 000000000000..0c2044d47ac2 --- /dev/null +++ b/pkgs/development/libraries/lcms2/default.nix @@ -0,0 +1,18 @@ +{stdenv, fetchurl, libtiff, libjpeg, zlib}: + +stdenv.mkDerivation rec { + name = "lcms2-2.0a"; + + src = fetchurl { + url = "mirror://sf/lcms/${name}.tar.gz"; + sha256 = "0kq5imagri0l964nnj06f7xny2q7rwvzqpm8ibsqz5zm263ggskd"; + }; + + propagatedBuildInputs = [ libtiff libjpeg zlib ]; + + meta = { + description = "Color management engine"; + homepage = http://www.littlecms.com/; + license = "MIT"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4d9a7770f4ce..82b38fc931cd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3083,7 +3083,11 @@ let inherit (gnome) libgnomecanvas; }; - lcms = callPackage ../development/libraries/lcms { }; + lcms = lcms1; + + lcms1 = callPackage ../development/libraries/lcms { }; + + lcms2 = callPackage ../development/libraries/lcms2 { }; lensfun = callPackage ../development/libraries/lensfun { inherit (gnome) glib;