1 { python, lib, stdenv, pyside2
2 , cmake, qt5, llvmPackages }:
7 inherit (pyside2) version src;
10 ./nix_compile_cflags.patch
17 CLANG_INSTALL_DIR = llvmPackages.libclang.out;
19 nativeBuildInputs = [ cmake ];
20 buildInputs = [ llvmPackages.libclang python python.pkgs.setuptools qt5.qtbase qt5.qtxmlpatterns ];
26 dontWrapQtApps = true;
30 ${python.interpreter} setup.py egg_info --build-type=shiboken2
31 cp -r shiboken2.egg-info $out/${python.sitePackages}/
32 rm $out/bin/shiboken_tool.py
36 description = "Generator for the PySide2 Qt bindings";
37 license = with licenses; [ gpl2 lgpl21 ];
38 homepage = "https://wiki.qt.io/Qt_for_Python";
39 maintainers = with maintainers; [ gebner ];
40 broken = stdenv.isDarwin;