snes9x-gtk: Install normally

This commit is contained in:
Okina Matara 2018-06-19 01:51:56 -05:00
parent 5b09fe1098
commit 49eae144e6

View file

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, autoreconfHook, intltool, pkgconfig, SDL2, zlib { stdenv, fetchFromGitHub, autoreconfHook, wrapGAppsHook, intltool, pkgconfig
, gtk3, libxml2, libXv, epoxy, minizip, portaudio }: , SDL2, zlib, gtk3, libxml2, libXv, epoxy, minizip, portaudio }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "snes9x-gtk-${version}"; name = "snes9x-gtk-${version}";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
nativeBuildInputs = [ autoreconfHook intltool pkgconfig ]; nativeBuildInputs = [ autoreconfHook wrapGAppsHook intltool pkgconfig ];
buildInputs = [ SDL2 zlib gtk3 libxml2 libXv epoxy minizip portaudio ]; buildInputs = [ SDL2 zlib gtk3 libxml2 libXv epoxy minizip portaudio ];
preAutoreconf = '' preAutoreconf = ''
@ -21,11 +21,9 @@ stdenv.mkDerivation rec {
intltoolize intltoolize
''; '';
installPhase = "install -Dt $out/bin snes9x-gtk";
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "http://www.snes9x.com"; homepage = "http://www.snes9x.com";
description = "A portable, freeware Super Nintendo Entertainment System (SNES) emulator"; description = "Super Nintendo Entertainment System (SNES) emulator";
longDescription = '' longDescription = ''
Snes9x is a portable, freeware Super Nintendo Entertainment System (SNES) Snes9x is a portable, freeware Super Nintendo Entertainment System (SNES)