mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
pythonPackages.matplotlib: fix dependencies to use pyqt5 instead
This commit is contained in:
parent
1f02f7cf60
commit
af7378397f
@ -6,7 +6,7 @@
|
||||
, enableGtk3 ? false, cairo
|
||||
# darwin has its own "MacOSX" backend
|
||||
, enableTk ? !stdenv.isDarwin, tcl ? null, tk ? null, tkinter ? null, libX11 ? null
|
||||
, enableQt ? false, pyqt4
|
||||
, enableQt ? false, pyqt5 ? null
|
||||
, libcxx
|
||||
, Cocoa
|
||||
, pythonOlder
|
||||
@ -19,7 +19,7 @@ assert enableTk -> (tcl != null)
|
||||
&& (tkinter != null)
|
||||
&& (libX11 != null)
|
||||
;
|
||||
assert enableQt -> pyqt4 != null;
|
||||
assert enableQt -> pyqt5 != null;
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.1.1";
|
||||
@ -49,7 +49,7 @@ buildPythonPackage rec {
|
||||
++ stdenv.lib.optional enableGtk2 pygtk
|
||||
++ stdenv.lib.optionals enableGtk3 [ cairo pycairo gtk3 gobject-introspection pygobject3 ]
|
||||
++ stdenv.lib.optionals enableTk [ tcl tk tkinter libX11 ]
|
||||
++ stdenv.lib.optionals enableQt [ pyqt4 ];
|
||||
++ stdenv.lib.optionals enableQt [ pyqt5 ];
|
||||
|
||||
patches =
|
||||
[ ./basedirlist.patch ];
|
||||
|
Loading…
Reference in New Issue
Block a user