Unverified Commit ae4acddb authored by seth's avatar seth Committed by GitHub
Browse files

prismlauncher: include libusb1 as a runtime dependency (#256124)

* prismlauncher: include libusb1 as a runtime dependency

* prismlauncher: add meta.mainProgram attribute
parent 02798bd8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -98,6 +98,7 @@ rec {
  dontWrapQtApps = true;

  meta = with lib; {
    mainProgram = "prismlauncher";
    homepage = "https://prismlauncher.org/";
    description = "A free, open source launcher for Minecraft";
    longDescription = ''
+3 −0
Original line number Diff line number Diff line
@@ -17,10 +17,12 @@
, flite
, mesa-demos
, udev
, libusb1

, msaClientID ? null
, gamemodeSupport ? stdenv.isLinux
, textToSpeechSupport ? stdenv.isLinux
, controllerSupport ? stdenv.isLinux
, jdks ? [ jdk17 jdk8 ]
, additionalLibs ? [ ]
, additionalPrograms ? [ ]
@@ -71,6 +73,7 @@ symlinkJoin {
      ]
      ++ lib.optional gamemodeSupport gamemode.lib
      ++ lib.optional textToSpeechSupport flite
      ++ lib.optional controllerSupport libusb1
      ++ additionalLibs;

      runtimePrograms = [