pythonPackages.pyside2: add egg-info

Fixes #167452
This commit is contained in:
Majiir Paktu 2022-06-10 14:06:20 -04:00
parent 23b77ecc94
commit db326782c8

View File

@ -24,14 +24,22 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [ cmake ninja qt5.qmake python ];
buildInputs = with qt5; [
buildInputs = (with qt5; [
qtbase qtxmlpatterns qtmultimedia qttools qtx11extras qtlocation qtscript
qtwebsockets qtwebengine qtwebchannel qtcharts qtsensors qtsvg
]) ++ [
python.pkgs.setuptools
];
propagatedBuildInputs = [ shiboken2 ];
dontWrapQtApps = true;
postInstall = ''
cd ../../..
${python.interpreter} setup.py egg_info --build-type=pyside2
cp -r PySide2.egg-info $out/${python.sitePackages}/
'';
meta = with lib; {
description = "LGPL-licensed Python bindings for Qt";
license = licenses.lgpl21;