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}"
];
nativeBuildInputs = [ cmake ninja qt5.qmake shiboken2 python ];
nativeBuildInputs = [ cmake ninja qt5.qmake python ];
buildInputs = with qt5; [
qtbase qtxmlpatterns qtmultimedia qttools qtx11extras qtlocation qtscript
qtwebsockets qtwebengine qtwebchannel qtcharts qtsensors qtsvg
];
propagatedBuildInputs = [ shiboken2 ];
meta = with stdenv.lib; {
description = "LGPL-licensed Python bindings for Qt";