Merge pull request #241017 from SuperSandro2000/matplotlib-pypy

python310Packages.matplotlib: disable tkinter for PyPy
This commit is contained in:
Sandro
2023-07-09 23:29:20 +02:00
committed by GitHub
@@ -3,6 +3,7 @@
, fetchPypi
, writeText
, buildPythonPackage
, isPyPy
, pythonOlder
# https://github.com/matplotlib/matplotlib/blob/main/doc/devel/dependencies.rst
@@ -39,7 +40,8 @@
, pygobject3
# Tk
, enableTk ? !stdenv.isDarwin # darwin has its own "MacOSX" backend
# Darwin has its own "MacOSX" backend, PyPy has tkagg backend and does not support tkinter
, enableTk ? (!stdenv.isDarwin && !isPyPy)
, tcl
, tk
, tkinter