pythonPackages.matplotlib: re-add Cocoa as buildInput on darwin (#22741)
This commit is contained in:
committed by
Robin Gloster
parent
c0d1226750
commit
99fdc8b651
@@ -7,6 +7,7 @@
|
||||
, enableTk ? false, tcl ? null, tk ? null, tkinter ? null, libX11 ? null
|
||||
, enableQt ? false, pyqt4
|
||||
, libcxx
|
||||
, Cocoa
|
||||
}:
|
||||
|
||||
assert enableGhostscript -> ghostscript != null;
|
||||
@@ -32,7 +33,8 @@ buildPythonPackage rec {
|
||||
XDG_RUNTIME_DIR = "/tmp";
|
||||
|
||||
buildInputs = [ python which sphinx stdenv ]
|
||||
++ stdenv.lib.optional enableGhostscript ghostscript;
|
||||
++ stdenv.lib.optional enableGhostscript ghostscript
|
||||
++ stdenv.lib.optional stdenv.isDarwin [ Cocoa ];
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ cycler dateutil nose numpy pyparsing tornado freetype
|
||||
|
||||
Reference in New Issue
Block a user