runescape-launcher: organize package lists

This commit is contained in:
Andrew Morgan 2023-01-01 16:27:16 +00:00
parent d41a8f77db
commit 1e31eed123

View file

@ -1,8 +1,27 @@
{ stdenv, lib, buildFHSUserEnv, dpkg, glibc, gcc-unwrapped, autoPatchelfHook, fetchurl, wrapGAppsHook { stdenv
, gnome2, xorg , lib
, libSM, libXxf86vm, libX11, glib, pango, cairo, gtk2-x11, zlib, openssl_1_1 , autoPatchelfHook
, buildFHSUserEnv
, cairo
, dpkg
, fetchurl
, gcc-unwrapped
, glib
, glibc
, gnome2
, gtk2-x11
, libGL
, libpulseaudio , libpulseaudio
, SDL2, xorg_sys_opengl, libGL , libSM
, libXxf86vm
, libX11
, openssl_1_1
, pango
, SDL2
, wrapGAppsHook
, xorg
, xorg_sys_opengl
, zlib
}: }:
let let
@ -19,30 +38,30 @@ let
nativeBuildInputs = [ nativeBuildInputs = [
autoPatchelfHook autoPatchelfHook
wrapGAppsHook
dpkg dpkg
wrapGAppsHook
]; ];
buildInputs = [ buildInputs = [
glibc cairo
gcc-unwrapped gcc-unwrapped
glib
glibc
gtk2-x11
libSM libSM
libXxf86vm libXxf86vm
libX11 libX11
glib
pango
cairo
gtk2-x11
zlib
openssl_1_1 openssl_1_1
pango
zlib
]; ];
runtimeDependencies = [ runtimeDependencies = [
libpulseaudio
libGL libGL
libpulseaudio
SDL2 SDL2
xorg_sys_opengl
openssl_1_1 openssl_1_1
xorg_sys_opengl
zlib zlib
]; ];
@ -95,11 +114,23 @@ in
name = "RuneScape"; name = "RuneScape";
targetPkgs = pkgs: [ targetPkgs = pkgs: [
runescape runescape
dpkg glibc gcc-unwrapped cairo
libSM libXxf86vm libX11 glib pango cairo gtk2-x11 zlib openssl_1_1 dpkg
gcc-unwrapped
glib
glibc
gtk2-x11
libGL
libpulseaudio libpulseaudio
libSM
libXxf86vm
libX11
openssl_1_1
pango
SDL2
xorg.libX11 xorg.libX11
SDL2 xorg_sys_opengl libGL xorg_sys_opengl
zlib
]; ];
multiPkgs = pkgs: [ libGL ]; multiPkgs = pkgs: [ libGL ];
runScript = "runescape-launcher"; runScript = "runescape-launcher";