From 10dbc6cf3abb2aead783816db95b2e5441044b64 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Tue, 14 Apr 2015 22:44:57 -0300 Subject: Atari++: 1.46 -> 1.73 And a complete reformulation of build expression. --- pkgs/misc/emulators/atari++/default.nix | 35 ++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) (limited to 'pkgs/misc/emulators/atari++') 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; + }; } -- cgit 1.4.1