2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, libSM, libX11, libICE, SDL, alsaLib, gcc-unwrapped, libXext }:
|
2015-04-15 02:44:57 +01:00
|
|
|
|
2020-06-07 22:11:08 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "atari++";
|
2020-03-31 02:09:33 +01:00
|
|
|
version = "1.83";
|
2006-08-14 10:26:53 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-03-31 02:09:33 +01:00
|
|
|
url = "http://www.xl-project.com/download/${pname}_${version}.tar.gz";
|
|
|
|
sha256 = "04fm2ic2qi4a52mi72wcaxyrpll4k8vvchx3qrik8rhg3jrxgm47";
|
2006-08-14 10:26:53 +01:00
|
|
|
};
|
2015-04-15 02:44:57 +01:00
|
|
|
|
2018-02-08 15:43:34 +00:00
|
|
|
buildInputs = [ libSM libX11 SDL libICE alsaLib gcc-unwrapped libXext ];
|
|
|
|
|
|
|
|
postFixup = ''
|
2021-01-15 13:21:58 +00:00
|
|
|
patchelf --set-rpath ${lib.makeLibraryPath buildInputs} "$out/bin/atari++"
|
2018-02-08 15:43:34 +00:00
|
|
|
'';
|
2016-08-29 18:15:10 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.xl-project.com/";
|
2015-04-15 02:44:57 +01:00
|
|
|
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 16:51:05 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2021-01-15 13:21:58 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2016-08-02 16:51:05 +01:00
|
|
|
};
|
2006-08-14 10:26:53 +01:00
|
|
|
}
|