2021-01-15 13:21:58 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook
|
2019-11-10 16:44:34 +00:00
|
|
|
, unzip, zlib, SDL, readline, libGLU, libGL, libX11 }:
|
2006-08-12 22:33:51 +00:00
|
|
|
|
2021-01-15 13:21:58 +00:00
|
|
|
with lib;
|
2020-06-07 21:11:08 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "atari800";
|
2020-04-07 05:09:52 +00:00
|
|
|
version = "4.2.0";
|
2015-04-13 08:35:43 +00:00
|
|
|
|
2020-04-07 05:09:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "atari800";
|
|
|
|
repo = "atari800";
|
|
|
|
rev = "ATARI800_${replaceChars ["."] ["_"] version}";
|
|
|
|
sha256 = "15l08clqqayi9izrgsz9achan6gl4x57wqsc8mad3yn0xayzz3qy";
|
2006-08-12 22:33:51 +00:00
|
|
|
};
|
2015-04-13 08:35:43 +00:00
|
|
|
|
2020-04-07 05:09:52 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2019-11-10 16:44:34 +00:00
|
|
|
buildInputs = [ unzip zlib SDL readline libGLU libGL libX11 ];
|
2015-04-13 08:35:43 +00:00
|
|
|
|
2018-07-25 21:44:21 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--target=default"
|
|
|
|
"--with-video=sdl"
|
|
|
|
"--with-sound=sdl"
|
|
|
|
"--with-readline"
|
|
|
|
"--with-opengl"
|
|
|
|
"--with-x"
|
|
|
|
"--enable-riodevice"
|
|
|
|
];
|
2015-04-13 08:35:43 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-07 05:09:52 +00:00
|
|
|
homepage = "https://atari800.github.io/";
|
2015-04-13 08:35:43 +00: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 15:51:05 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2021-01-15 13:21:58 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2016-08-02 15:51:05 +00:00
|
|
|
};
|
2006-08-12 22:33:51 +00:00
|
|
|
}
|