pythonPackages.pyside6: add egg_info

This commit is contained in:
Majiir Paktu
2023-09-06 21:38:22 -04:00
parent 1df4a27001
commit 041e8955d7
@@ -36,6 +36,9 @@ stdenv.mkDerivation rec {
buildInputs = with python.pkgs.qt6; [
# required
qtbase
python.pkgs.ninja
python.pkgs.packaging
python.pkgs.setuptools
] ++ lib.optionals stdenv.isLinux [
# optional
qt3d
@@ -68,6 +71,12 @@ stdenv.mkDerivation rec {
dontWrapQtApps = true;
postInstall = ''
cd ../../..
${python.pythonForBuild.interpreter} setup.py egg_info --build-type=pyside6
cp -r PySide6.egg-info $out/${python.sitePackages}/
'';
meta = with lib; {
description = "Python bindings for Qt";
license = with licenses; [ lgpl3Only gpl2Only gpl3Only ];