about summary refs log tree commit diff
path: root/pkgs/misc/emulators/atari++
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@gmail.com>2015-04-14 22:44:57 -0300
committerAndersonTorres <torres.anderson.85@gmail.com>2015-04-14 22:44:57 -0300
commit10dbc6cf3abb2aead783816db95b2e5441044b64 (patch)
treeed8b3b5fb4fc15a94e3c42270796c96193753483 /pkgs/misc/emulators/atari++
parentc17aa58fa973828518f0c612a5ac890d6a86f724 (diff)
downloadnixlib-10dbc6cf3abb2aead783816db95b2e5441044b64.tar
nixlib-10dbc6cf3abb2aead783816db95b2e5441044b64.tar.gz
nixlib-10dbc6cf3abb2aead783816db95b2e5441044b64.tar.bz2
nixlib-10dbc6cf3abb2aead783816db95b2e5441044b64.tar.lz
nixlib-10dbc6cf3abb2aead783816db95b2e5441044b64.tar.xz
nixlib-10dbc6cf3abb2aead783816db95b2e5441044b64.tar.zst
nixlib-10dbc6cf3abb2aead783816db95b2e5441044b64.zip
Atari++: 1.46 -> 1.73
And a complete reformulation of build expression.
Diffstat (limited to 'pkgs/misc/emulators/atari++')
-rw-r--r--pkgs/misc/emulators/atari++/default.nix35
1 files changed, 24 insertions, 11 deletions
diff --git a/pkgs/misc/emulators/atari++/default.nix b/pkgs/misc/emulators/atari++/default.nix
index 1a76ddd1c902..89baadb62082 100644
--- a/pkgs/misc/emulators/atari++/default.nix
+++ b/pkgs/misc/emulators/atari++/default.nix
@@ -1,15 +1,28 @@
-{stdenv, fetchurl, x11, SDL}:
+{ stdenv, fetchurl
+, libX11, SDL }:
+
+with stdenv.lib;
+stdenv.mkDerivation rec{
+  name = "atari++-${version}";
+  version = "1.73";
 
-stdenv.mkDerivation {
-  name = "atari++-1.46";
-#  builder = ./builder.sh;
   src = fetchurl {
-    url = http://www.math.tu-berlin.de/~thor/atari++/download/atari++.tgz;
-    md5 = "0619ec6b63852233111aa0bd263c8ea2";
+    url = "http://www.xl-project.com/download/atari++_${version}.tar.gz";
+    sha256 = "1y5kwh08717jsa5agxrvxnggnwxq36irrid9rzfhca1nnvp9a45l";
   };
-#  rom = fetchurl {
-#    url = mirror://sourceforge/atari800/xf25.zip;
-#    md5 = "4dc3b6b4313e9596c4d474785a37b94d";
-#  };
-  buildInputs = [x11 SDL];
+
+  buildInputs = [ libX11 SDL ];
+  meta = {
+    homepage = http://www.xl-project.com/;
+    description = "An enhanced, cycle-accurated Atari emulator";
+    longDescription = ''
+      The Atari++ Emulator is a Unix based emulator of the Atari eight
+      bit computers, namely the Atari 400 and 800, the Atari 400XL,
+      800XL and 130XE, and the Atari 5200 game console. The emulator
+      is auto-configurable and will compile on a variety of systems
+      (Linux, Solaris, Irix).
+    '';
+    maintainers = [ maintainers.AndersonTorres ];
+    license = licenses.gpl2Plus;    
+  };    
 }