nixpkgs/pkgs/misc/emulators/mupen64plus/default.nix
Lluís Batlle i Rossell 3abc3f4a68 Updating mupen64plus, and adding a GUI for it.
I can't say the GUI works very well... it doesn't find the core properly,
but I couldn't find why.
2013-03-28 18:13:18 +01:00

22 lines
723 B
Nix

{stdenv, fetchurl, which, pkgconfig, SDL, gtk, mesa, SDL_ttf}:
stdenv.mkDerivation {
name = "mupen64plus-1.99.5";
src = fetchurl {
url = https://mupen64plus.googlecode.com/files/mupen64plus-bundle-src-1.99.5.tar.gz;
sha1 = "ca80ae446c9591e272e3ec93f0a2a8b01cfcd34e";
};
buildInputs = [ which pkgconfig SDL gtk mesa SDL_ttf ];
buildPhase = "./m64p_build.sh PREFIX=$out COREDIR=$out/lib/ PLUGINDIR=$out/lib/mupen64plus/ SHAREDIR=$out/share/mupen64plus/";
installPhase = "./m64p_install.sh PREFIX=$out";
meta = {
description = "A Nintendo 64 Emulator";
license = "GPLv2+";
homepage = http://code.google.com/p/mupen64plus;
maintainers = [ stdenv.lib.maintainers.sander ];
};
}