1 { buildPythonPackage, python, fetchurl, lib, stdenv,
2 cmake, ninja, qt5, shiboken2 }:
4 stdenv.mkDerivation rec {
9 url = "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${version}-src/pyside-setup-opensource-src-${version}.tar.xz";
10 sha256 = "060ljj1nzyp4zfz2vasbv2i7gs5rfkkjwxxbisd0fdw01d5m01mk";
14 ./dont_ignore_optional_modules.patch
23 "-DPYTHON_EXECUTABLE=${python.interpreter}"
26 nativeBuildInputs = [ cmake ninja qt5.qmake python ];
27 buildInputs = with qt5; [
28 qtbase qtxmlpatterns qtmultimedia qttools qtx11extras qtlocation qtscript
29 qtwebsockets qtwebengine qtwebchannel qtcharts qtsensors qtsvg
31 propagatedBuildInputs = [ shiboken2 ];
33 dontWrapQtApps = true;
36 description = "LGPL-licensed Python bindings for Qt";
37 license = licenses.lgpl21;
38 homepage = "https://wiki.qt.io/Qt_for_Python";
39 maintainers = with maintainers; [ gebner ];