2018-02-08 16:43:34 +01:00
|
|
|
{ stdenv, fetchurl, libSM, libX11, libICE, SDL, alsaLib, gcc-unwrapped, libXext }:
|
2015-04-15 03:44:57 +02:00
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec{
|
|
|
|
name = "atari++-${version}";
|
2018-02-08 16:43:34 +01:00
|
|
|
version = "1.81";
|
2006-08-14 11:26:53 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-04-15 03:44:57 +02:00
|
|
|
url = "http://www.xl-project.com/download/atari++_${version}.tar.gz";
|
2018-02-08 16:43:34 +01:00
|
|
|
sha256 = "1sv268dsjddirhx47zaqgqiahy6zjxj7xaiiksd1gjvs4lvf3cdg";
|
2006-08-14 11:26:53 +02:00
|
|
|
};
|
2015-04-15 03:44:57 +02:00
|
|
|
|
2018-02-08 16:43:34 +01:00
|
|
|
buildInputs = [ libSM libX11 SDL libICE alsaLib gcc-unwrapped libXext ];
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
patchelf --set-rpath ${stdenv.lib.makeLibraryPath buildInputs} "$out/bin/atari++"
|
|
|
|
'';
|
2016-08-29 19:15:10 +02:00
|
|
|
|
2015-04-15 03:44:57 +02:00
|
|
|
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 ];
|
2016-08-02 17:51:05 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-08-02 17:51:05 +02:00
|
|
|
};
|
2006-08-14 11:26:53 +02:00
|
|
|
}
|