Unverified Commit e580181a authored by Tobias Bora's avatar Tobias Bora Committed by GitHub
Browse files

raysession: Fix issues with qt not being patched (can’t find platform, qt...


raysession: Fix issues with qt not being patched (can’t find platform, qt version mismatch error etc) (#236762)

Co-authored-by: default avatarOTABI Tomoya <tomoya.otabi@gmail.com>
parent d213b122
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
{ lib, fetchurl, buildPythonApplication, libjack2, pydbus, pyliblo, pyqt5, qttools, which, bash }:
{ lib, fetchurl, buildPythonApplication, libjack2, pydbus, pyliblo, pyqt5, which, bash, qt5 }:

buildPythonApplication rec {
  pname = "raysession";
@@ -20,8 +20,9 @@ buildPythonApplication rec {

  nativeBuildInputs = [
    pyqt5   # pyuic5 and pyrcc5 to build resources.
    qttools # lrelease to build translations.
    qt5.qttools # lrelease to build translations.
    which   # which to find lrelease.
    qt5.wrapQtAppsHook
  ];
  buildInputs = [ libjack2 bash ];
  propagatedBuildInputs = [ pydbus pyliblo pyqt5 ];
@@ -36,6 +37,9 @@ buildPythonApplication rec {

  postFixup = ''
    wrapPythonProgramsIn "$out/share/raysession/src" "$out $pythonPath"
    for file in $out/bin/*; do
      wrapQtApp "$file"
    done
  '';

  meta = with lib; {
+1 −3
Original line number Diff line number Diff line
@@ -12306,9 +12306,7 @@ with pkgs;
  pystring = callPackage ../development/libraries/pystring { };
  raysession = python3Packages.callPackage ../applications/audio/raysession {
    inherit (qt5) qttools;
  };
  raysession = python3Packages.callPackage ../applications/audio/raysession {};
  revolt-desktop = callPackage ../applications/networking/instant-messengers/revolt-desktop { };