about summary refs log tree commit diff
path: root/pkgs/development/libraries/harfbuzz/default.nix
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2013-10-14 10:36:39 +0400
committerMichael Raskin <7c6f434c@mail.ru>2013-10-14 10:58:54 +0400
commit776adb5704262ecc884fc2d003988ffb23f4df0a (patch)
treecb161dec170faf0311ee0e02e02423fff332ad1c /pkgs/development/libraries/harfbuzz/default.nix
parent4dee7de246e6037d494d798efd2a383d9fccc8cc (diff)
downloadnixlib-776adb5704262ecc884fc2d003988ffb23f4df0a.tar
nixlib-776adb5704262ecc884fc2d003988ffb23f4df0a.tar.gz
nixlib-776adb5704262ecc884fc2d003988ffb23f4df0a.tar.bz2
nixlib-776adb5704262ecc884fc2d003988ffb23f4df0a.tar.lz
nixlib-776adb5704262ecc884fc2d003988ffb23f4df0a.tar.xz
nixlib-776adb5704262ecc884fc2d003988ffb23f4df0a.tar.zst
nixlib-776adb5704262ecc884fc2d003988ffb23f4df0a.zip
Updating TeXLive to 2013 using updated Debian snapshots.
Kept the old hacks where they don't break the build in case they things
they fix are still relevant.

I checked that the upgrade doesn't break:
1) Asymptote and EProver builds.
2) My XeLaTeX demo from configurations/ repository.
3) Some of my own files.

The upgrade fixes problems with simultaneous use of 3D and LaTeX labels
in Asymptote.

Please provide a test that worked previously and is broken now if you
need to revert this update or its parts.
Diffstat (limited to 'pkgs/development/libraries/harfbuzz/default.nix')
-rw-r--r--pkgs/development/libraries/harfbuzz/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/libraries/harfbuzz/default.nix b/pkgs/development/libraries/harfbuzz/default.nix
index 4fb024db0e13..1202ab5825d7 100644
--- a/pkgs/development/libraries/harfbuzz/default.nix
+++ b/pkgs/development/libraries/harfbuzz/default.nix
@@ -1,4 +1,5 @@
-{ stdenv, fetchurl, pkgconfig, glib, freetype, libintlOrEmpty }:
+{ stdenv, fetchurl, pkgconfig, glib, freetype,
+  icu ? null, graphite2 ? null, libintlOrEmpty }:
 
 stdenv.mkDerivation rec {
   name = "harfbuzz-0.9.12";
@@ -8,7 +9,12 @@ stdenv.mkDerivation rec {
     sha256 = "19cx5y2m20rp7z5j7mwqfb4ph2g8lrri69zim44x362y4w5gfly6";
   };
 
-  buildInputs = [ pkgconfig glib freetype ] ++ libintlOrEmpty;
+  buildInputs = [ pkgconfig glib freetype ]
+    ++ libintlOrEmpty;
+  propagatedBuildInputs = []
+    ++ (stdenv.lib.optionals (icu != null) [icu])
+    ++ (stdenv.lib.optionals (graphite2 != null) [graphite2])
+    ;
 
   meta = {
     description = "An OpenType text shaping engine";