2015-04-13 09:35:43 +01:00
|
|
|
{ stdenv, fetchurl
|
2018-02-24 13:12:44 +00:00
|
|
|
, unzip, zlib, SDL, readline, libGLU_combined, libX11 }:
|
2006-08-12 23:33:51 +01:00
|
|
|
|
2015-04-13 09:35:43 +01:00
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec{
|
|
|
|
name = "atari800-${version}";
|
|
|
|
version = "3.1.0";
|
|
|
|
|
2006-08-12 23:33:51 +01:00
|
|
|
src = fetchurl {
|
2015-04-13 09:35:43 +01:00
|
|
|
url = "mirror://sourceforge/atari800/atari800/${version}/${name}.tar.gz";
|
|
|
|
sha256 = "030yz5l1wyq9l0dmiimiiwpzrjr43whycd409xhhpnrdx76046wh";
|
2006-08-12 23:33:51 +01:00
|
|
|
};
|
2015-04-13 09:35:43 +01:00
|
|
|
|
2018-02-24 13:12:44 +00:00
|
|
|
buildInputs = [ unzip zlib SDL readline libGLU_combined libX11 ];
|
2015-04-13 09:35:43 +01:00
|
|
|
|
2018-07-25 22:44:21 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--target=default"
|
|
|
|
"--with-video=sdl"
|
|
|
|
"--with-sound=sdl"
|
|
|
|
"--with-readline"
|
|
|
|
"--with-opengl"
|
|
|
|
"--with-x"
|
|
|
|
"--enable-riodevice"
|
|
|
|
];
|
2015-04-13 09:35:43 +01:00
|
|
|
|
2015-04-17 17:23:39 +01:00
|
|
|
preConfigure = "cd src";
|
|
|
|
|
2015-04-13 09:35:43 +01:00
|
|
|
meta = {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://atari800.sourceforge.net/;
|
2015-04-13 09:35:43 +01:00
|
|
|
description = "An Atari 8-bit emulator";
|
|
|
|
longDescription = ''
|
|
|
|
Atari800 is the emulator of Atari 8-bit computer systems and
|
|
|
|
5200 game console for Unix, Linux, Amiga, MS-DOS, Atari
|
|
|
|
TT/Falcon, MS-Windows, MS WinCE, Sega Dreamcast, Android and
|
|
|
|
other systems supported by the SDL library.
|
|
|
|
'';
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
2016-08-02 16:51:05 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-08-02 16:51:05 +01:00
|
|
|
};
|
2006-08-12 23:33:51 +01:00
|
|
|
}
|