Merge pull request #90103 from Pamplemousse/fix_pyside2

pythonPackages.pyside2: don't fail import on missing `shiboken2`
This commit is contained in:
Gabriel Ebner 2020-06-22 15:24:46 +02:00 committed by GitHub
commit d0ebf2d443
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,11 +23,12 @@ stdenv.mkDerivation rec {
"-DPYTHON_EXECUTABLE=${python.interpreter}" "-DPYTHON_EXECUTABLE=${python.interpreter}"
]; ];
nativeBuildInputs = [ cmake ninja qt5.qmake shiboken2 python ]; nativeBuildInputs = [ cmake ninja qt5.qmake python ];
buildInputs = with qt5; [ buildInputs = with qt5; [
qtbase qtxmlpatterns qtmultimedia qttools qtx11extras qtlocation qtscript qtbase qtxmlpatterns qtmultimedia qttools qtx11extras qtlocation qtscript
qtwebsockets qtwebengine qtwebchannel qtcharts qtsensors qtsvg qtwebsockets qtwebengine qtwebchannel qtcharts qtsensors qtsvg
]; ];
propagatedBuildInputs = [ shiboken2 ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "LGPL-licensed Python bindings for Qt"; description = "LGPL-licensed Python bindings for Qt";