python312Packages.pyside2: disable vulnerable qtwebengine by default

Grimmauld fdaf9ac0 45ed32fb

Changed files
+4 -1
pkgs
development
python-modules
pyside2
+4 -1
pkgs/development/python-modules/pyside2/default.nix
···
ninja,
qt5,
shiboken2,
+
withWebengine ? false, # vulnerable, so omit by default
}:
stdenv.mkDerivation rec {
pname = "pyside2";
···
qtlocation
qtscript
qtwebsockets
-
qtwebengine
qtwebchannel
qtcharts
qtsensors
qtsvg
qt3d
])
+
++ lib.optionals withWebengine [
+
qt5.qtwebengine
+
]
++ (with python.pkgs; [ setuptools ])
++ (lib.optionals (python.pythonOlder "3.9") [
# see similar issue: 202262