mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
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:
parent
4756e2eb0c
commit
6df8995af9
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user