mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
prismlauncher: include libusb1 as a runtime dependency (#256124)
* prismlauncher: include libusb1 as a runtime dependency * prismlauncher: add meta.mainProgram attribute
This commit is contained in:
parent
02798bd86d
commit
ae4acddbb6
@ -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 = ''
|
||||
|
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user