pythonPackages.pyside2: resolve failing import

Currently,
  `nix-shell -p "python3.withPackages (p: with p; [ pyside2 ])" --run 'python -c "import pyside2"'`
fails with a:
  `ModuleNotFoundError: No module named 'shiboken2'`
This commit is contained in:
Pamplemousse 2020-06-10 15:42:15 -07:00
parent 4756e2eb0c
commit 6df8995af9

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";