14 inherit (pyside2) version src;
17 ./nix_compile_cflags.patch
24 CLANG_INSTALL_DIR = llvmPackages_15.libclang.out;
26 nativeBuildInputs = [ cmake ];
29 llvmPackages_15.libclang
31 python.pkgs.setuptools
34 ] ++ (lib.optionals (python.pythonOlder "3.9") [
35 # see similar issue: 202262
36 # libxcrypt is required for crypt.h for building older python modules
44 dontWrapQtApps = true;
48 ${python.pythonOnBuildForHost.interpreter} setup.py egg_info --build-type=shiboken2
49 cp -r shiboken2.egg-info $out/${python.sitePackages}/
50 rm $out/bin/shiboken_tool.py
54 description = "Generator for the PySide2 Qt bindings";
55 license = with licenses; [ gpl2 lgpl21 ];
56 homepage = "https://wiki.qt.io/Qt_for_Python";
57 maintainers = with maintainers; [ gebner ];
58 broken = stdenv.isDarwin;