15 inherit (pyside2) version src patches;
21 CLANG_INSTALL_DIR = llvmPackages_15.libclang.out;
25 (python.withPackages (
35 llvmPackages_15.libclang
36 python.pkgs.setuptools
40 ++ (lib.optionals (python.pythonOlder "3.9") [
41 # see similar issue: 202262
42 # libxcrypt is required for crypt.h for building older python modules
46 cmakeFlags = [ "-DBUILD_TESTS=OFF" ];
48 dontWrapQtApps = true;
52 ${python.pythonOnBuildForHost.interpreter} setup.py egg_info --build-type=shiboken2
53 cp -r shiboken2.egg-info $out/${python.sitePackages}/
54 rm $out/bin/shiboken_tool.py
58 description = "Generator for the PySide2 Qt bindings";
59 mainProgram = "shiboken2";
60 license = with licenses; [
64 homepage = "https://wiki.qt.io/Qt_for_Python";
65 maintainers = with maintainers; [ gebner ];