Skip to content

Commit cc0e8af

Browse files
authoredMar 19, 2025
pythonPackages.wxpython: drop SDL dependency (#391240)
this dependency was unused: ``` $ nix why-depends .#python313Packages.wxpython .#SDL --precise --all these 5 paths will be fetched (4.96 MiB download, 21.60 MiB unpacked): /nix/store/vhz0cn55wadyknv3bz4in7drm0mmpny3-SDL_compat-1.2.68 /nix/store/jfia42fgcpz2gmb5l1mqps5qaaan3lcn-libadwaita-1.6.4 /nix/store/555981fqc4rkjdfapzsw092bqyrbi5s3-sdl2-compat-2.32.52 /nix/store/kq5gmdxv139qk1j50grxlqvrsrlx9aq5-sdl3-3.2.6-lib /nix/store/d9vlzcqg021zzyw6vwc7dfin8lbm86a1-zenity-4.0.5 'git+file:///home/grimmauld/nixpkgs#python313Packages.wxpython' does not depend on 'git+file:///home/grimmauld/nixpkgs#SDL' ``` ``` $ nix why-depends .#python313Packages.wxpython .#SDL --derivation --all /nix/store/79x3l16rh508qmbprz7xslqvd568gd8z-python3.13-wxpython-4.2.2.drv └───/nix/store/s0kxrg633g9j5yvqiw1d2dgw76hg5r53-SDL_compat-1.2.68.drv ```
2 parents 41c7225 + a819c8a commit cc0e8af

File tree

1 file changed

+0
-4
lines changed
  • pkgs/development/python-modules/wxpython

1 file changed

+0
-4
lines changed
 

‎pkgs/development/python-modules/wxpython/4.2.nix

-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
libglvnd,
3030
libgbm,
3131
pango,
32-
SDL,
3332
webkitgtk_4_0,
3433
wxGTK,
3534
xorgproto,
@@ -71,7 +70,6 @@ buildPythonPackage rec {
7170
attrdict
7271
pkg-config
7372
setuptools
74-
SDL
7573
sip
7674
which
7775
wxGTK
@@ -80,7 +78,6 @@ buildPythonPackage rec {
8078
buildInputs =
8179
[
8280
wxGTK
83-
SDL
8481
]
8582
++ lib.optionals stdenv.hostPlatform.isLinux [
8683
gst_all_1.gst-plugins-base
@@ -108,7 +105,6 @@ buildPythonPackage rec {
108105
109106
export DOXYGEN=${doxygen}/bin/doxygen
110107
export PATH="${wxGTK}/bin:$PATH"
111-
export SDL_CONFIG="${lib.getExe' (lib.getDev SDL) "sdl-config"}"
112108
export WAF=$PWD/bin/waf
113109
114110
${python.pythonOnBuildForHost.interpreter} build.py -v --use_syswx dox etg sip --nodoc build_py

0 commit comments

Comments
 (0)
Failed to load comments.