python313Packages.matplotlib: remove unused dependencies (#397240)

This commit is contained in:
dotlambda
2025-04-11 15:10:51 -04:00
committed by GitHub
parent cae70b0438
commit 542765a510
2 changed files with 0 additions and 13 deletions
@@ -53,14 +53,8 @@
# Tk
# Darwin has its own "MacOSX" backend, PyPy has tkagg backend and does not support tkinter
enableTk ? (!stdenv.hostPlatform.isDarwin && !isPyPy),
tcl,
tk,
tkinter,
# Ghostscript
enableGhostscript ? true,
ghostscript,
# Qt
enableQt ? false,
pyqt5,
@@ -130,16 +124,10 @@ buildPythonPackage rec {
freetype
qhull
]
++ lib.optionals enableGhostscript [ ghostscript ]
++ lib.optionals enableGtk3 [
cairo
gtk3
]
++ lib.optionals enableTk [
libX11
tcl
tk
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ];
# clang-11: error: argument unused during compilation: '-fno-strict-overflow' [-Werror,-Wunused-command-line-argument]
-1
View File
@@ -8428,7 +8428,6 @@ self: super: with self; {
matplotlib = callPackage ../development/python-modules/matplotlib {
stdenv = if stdenv.hostPlatform.isDarwin then pkgs.clangStdenv else pkgs.stdenv;
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
ghostscript = pkgs.ghostscript_headless;
};
matplotlib-inline = callPackage ../development/python-modules/matplotlib-inline { };