Remove some matplotlib optional backends.
The removed ones are not certain to work at the moment.
This commit is contained in:
parent
c8d0d91db1
commit
0c27d37495
@ -2,20 +2,11 @@
|
||||
, which, dateutil, nose, numpy, pyparsing, tornado
|
||||
, freetype, libpng, pkgconfig, mock, pytz
|
||||
, enableGhostscript ? false, ghostscript ? null
|
||||
, enableCairo ? false, pycairo ? null
|
||||
, enableGtk2 ? false, pygtk ? null
|
||||
, enableGtk3 ? false, pygobject3 ? null, gtk3 ? null
|
||||
, enableQt4 ? false, pyqt4 ? null
|
||||
, enableQt5 ? false, pyqt5 ? null
|
||||
, enableWxWidgets ? false, wxPython ? null }:
|
||||
}:
|
||||
|
||||
assert enableGhostscript -> ghostscript != null;
|
||||
assert enableCairo -> pycairo != null;
|
||||
assert enableGtk2 -> pygtk != null;
|
||||
assert enableGtk3 -> pygobject3 != null && gtk3 != null;
|
||||
assert enableQt4 -> pyqt4 != null;
|
||||
assert enableQt5 -> pyqt5 != null;
|
||||
assert enableWxWidgets -> wxPython != null;
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "matplotlib-1.4.2";
|
||||
@ -26,19 +17,13 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
buildInputs = [ python which stdenv ]
|
||||
++ stdenv.lib.optional enableGhostscript ghostscript
|
||||
++ stdenv.lib.optional enableGtk3 gtk3;
|
||||
++ stdenv.lib.optional enableGhostscript ghostscript;
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ dateutil nose numpy pyparsing tornado freetype
|
||||
libpng pkgconfig mock pytz
|
||||
]
|
||||
++ stdenv.lib.optional enableCairo pycairo
|
||||
++ stdenv.lib.optional enableGtk2 pygtk
|
||||
++ stdenv.lib.optional enableGtk3 pygobject3
|
||||
++ stdenv.lib.optional enableQt4 pyqt4
|
||||
++ stdenv.lib.optional enableQt5 pyqt5
|
||||
++ stdenv.lib.optional enableWxWidgets wxPython;
|
||||
++ stdenv.lib.optional enableGtk2 pygtk;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "python plotting library, making publication quality plots";
|
||||
|
Loading…
Reference in New Issue
Block a user