genymotion: add more runtime dependencies

This commit is contained in:
Weijia Wang 2024-01-20 09:50:02 +01:00
parent 27e48d2c55
commit f51406554e

View File

@ -1,5 +1,6 @@
{ stdenv, lib, fetchurl, makeWrapper, which, zlib, libGL, glib, xorg, libxkbcommon
, xdg-utils, libXrender, fontconfig, freetype, systemd, libpulseaudio
, cairo, gdk-pixbuf, gtk3, pixman
# For glewinfo
, libXmu, libXi, libXext }:
@ -19,6 +20,10 @@ let
freetype
systemd
libpulseaudio
cairo
gdk-pixbuf
gtk3
pixman
];
libPath = lib.makeLibraryPath packages;
in
@ -31,8 +36,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-CS1A9udt47bhgnYJqqkCG3z4XaPVHmz417VTsY2ccOA=";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ which xdg-utils ];
nativeBuildInputs = [ makeWrapper which xdg-utils ];
unpackPhase = ''
mkdir -p phony-home $out/share/applications
@ -73,6 +77,8 @@ stdenv.mkDerivation rec {
patchExecutable genymotion
patchExecutable player
patchExecutable qemu/x86_64/bin/qemu-img
patchExecutable qemu/x86_64/bin/qemu-system-x86_64
patchTool adb
patchTool aapt