2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook
|
2021-05-20 23:08:51 +00:00
|
|
|
, zlib, SDL, readline, libGLU, libGL, libX11 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
with lib;
|
2020-06-18 07:06:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "atari800";
|
2022-06-26 10:26:21 +00:00
|
|
|
version = "5.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "atari800";
|
|
|
|
repo = "atari800";
|
2022-12-17 10:02:37 +00:00
|
|
|
rev = "ATARI800_${replaceStrings ["."] ["_"] version}";
|
2022-06-26 10:26:21 +00:00
|
|
|
sha256 = "sha256-+eJXhqPyU0GhmzF7DbteTXzEnn5klCor9Io/UgXQfQg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-03-19 17:17:44 +00:00
|
|
|
buildInputs = [ zlib SDL readline libGLU libGL libX11 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--target=default"
|
|
|
|
"--with-video=sdl"
|
|
|
|
"--with-sound=sdl"
|
|
|
|
"--with-readline"
|
|
|
|
"--with-opengl"
|
|
|
|
"--with-x"
|
|
|
|
"--enable-riodevice"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://atari800.github.io/";
|
|
|
|
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 ];
|
|
|
|
license = licenses.gpl2Plus;
|
2021-01-17 00:15:33 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|