@@ -7,6 +7,7 @@
77, enableTk ? false, tcl ? null, tk ? null, tkinter ? null, libX11 ? null
88, enableQt ? false, pyqt4
99, libcxx
10+, Cocoa
1011}:
1112
1213assert enableGhostscript -> ghostscript != null;
@@ -32,7 +33,8 @@ buildPythonPackage rec {
3233 XDG_RUNTIME_DIR = "/tmp";
3334
3435 buildInputs = [ python which sphinx stdenv ]
35− ++ stdenv.lib.optional enableGhostscript ghostscript;
36+ ++ stdenv.lib.optional enableGhostscript ghostscript
37+ ++ stdenv.lib.optional stdenv.isDarwin [ Cocoa ];
3638
3739 propagatedBuildInputs =
3840 [ cycler dateutil nose numpy pyparsing tornado freetype