about summary refs log tree commit diff
path: root/pkgs/misc/emulators/desmume
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@gmail.com>2015-09-12 18:21:45 -0300
committerAndersonTorres <torres.anderson.85@gmail.com>2015-09-12 23:58:23 -0300
commit65e44c62ded2f69f007e74fe3f99ee37b8a59530 (patch)
tree4b58f955245d46cb67f9816d7de9ec815be98d3d /pkgs/misc/emulators/desmume
parentea72d27a211bff9dc8fc589bd40bc8252d853079 (diff)
downloadnixlib-65e44c62ded2f69f007e74fe3f99ee37b8a59530.tar
nixlib-65e44c62ded2f69f007e74fe3f99ee37b8a59530.tar.gz
nixlib-65e44c62ded2f69f007e74fe3f99ee37b8a59530.tar.bz2
nixlib-65e44c62ded2f69f007e74fe3f99ee37b8a59530.tar.lz
nixlib-65e44c62ded2f69f007e74fe3f99ee37b8a59530.tar.xz
nixlib-65e44c62ded2f69f007e74fe3f99ee37b8a59530.tar.zst
nixlib-65e44c62ded2f69f007e74fe3f99ee37b8a59530.zip
Desmume: init at 0.9.11
Diffstat (limited to 'pkgs/misc/emulators/desmume')
-rw-r--r--pkgs/misc/emulators/desmume/default.nix49
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/misc/emulators/desmume/default.nix b/pkgs/misc/emulators/desmume/default.nix
new file mode 100644
index 000000000000..f322a96905fb
--- /dev/null
+++ b/pkgs/misc/emulators/desmume/default.nix
@@ -0,0 +1,49 @@
+{ stdenv, fetchurl
+, pkgconfig, libtool, intltool
+, libXmu
+, lua
+, agg, alsaLib, soundtouch, openal
+, desktop_file_utils
+, gtk2, gtkglext, libglade, pangox_compat
+, mesa, mesa_glu, libpcap, SDL, zziplib }:
+
+with stdenv.lib;
+stdenv.mkDerivation rec {
+
+  name = "desmume-${version}";
+  version = "0.9.11";
+
+  src = fetchurl {
+    url = "http://downloads.sourceforge.net/project/desmume/desmume/${version}/${name}.tar.gz";
+    sha256 = "15l8wdw3q61fniy3h93d84dnm6s4pyadvh95a0j6d580rjk4pcrs";
+  };
+
+  buildInputs =
+  [ pkgconfig libtool intltool libXmu lua agg alsaLib soundtouch
+    openal desktop_file_utils gtk2 gtkglext libglade pangox_compat
+    mesa mesa_glu libpcap SDL zziplib ];
+
+  configureFlags = [
+    "--disable-osmesa" # Failing on compile step
+    "--disable-glade"  # Failing on compile step
+    "--enable-openal"
+    "--enable-glx"
+    "--enable-hud"
+    "--enable-wifi" ];
+
+  meta = {
+    description = "An open-source Nintendo DS emulator";
+    longDescription = ''
+      DeSmuME is a freeware emulator for the NDS roms & Nintendo DS
+      Lite games created by YopYop156. It supports many homebrew nds
+      rom demoes as well as a handful of Wireless Multiboot demo nds
+      roms. DeSmuME is also able to emulate nearly all of the
+      commercial nds rom titles which other DS Emulators aren't.
+    '';
+    homepage = http://www.desmume.com ;
+    license = licenses.gpl1Plus;
+    maintainers = [ maintainers.AndersonTorres ];
+    platforms = platforms.linux;
+  };
+}
+# TODO: investigate osmesa and glade