pythonPackages.wxPython: fix build on darwin
This commit is contained in:
parent
cfed29bfcb
commit
49b4cd546c
1 changed files with 16 additions and 1 deletions
|
@ -37,10 +37,25 @@ buildPythonPackage rec {
|
|||
|
||||
nativeBuildInputs = [ pkgconfig ]
|
||||
++ (lib.optionals (!stdenv.isDarwin) [ wxGTK libX11 ])
|
||||
++ (lib.optionals stdenv.isDarwin [ wxmac darwin.apple_sdk.frameworks.Cocoa ]);
|
||||
++ (lib.optionals stdenv.isDarwin [ wxmac ]);
|
||||
|
||||
buildInputs = [ ]
|
||||
++ (lib.optionals (!stdenv.isDarwin) [ (wxGTK.gtk) ])
|
||||
++ (lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
ApplicationServices
|
||||
AudioToolbox
|
||||
CFNetwork
|
||||
Carbon
|
||||
Cocoa
|
||||
CoreGraphics
|
||||
CoreServices
|
||||
CoreText
|
||||
DiskArbitration
|
||||
IOKit
|
||||
ImageIO
|
||||
OpenGL
|
||||
Security
|
||||
]))
|
||||
++ (lib.optional openglSupport pyopengl);
|
||||
|
||||
preConfigure = ''
|
||||
|
|
Loading…
Reference in a new issue