2023-12-29 17:55:48 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, SDL
|
|
|
|
, autoreconfHook
|
|
|
|
, fetchFromGitHub
|
|
|
|
, libGL
|
|
|
|
, libGLU
|
|
|
|
, libX11
|
|
|
|
, readline
|
|
|
|
, zlib
|
|
|
|
}:
|
2006-08-12 22:33:51 +00:00
|
|
|
|
2023-12-29 17:55:48 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "atari800";
|
2023-12-29 18:14:55 +00:00
|
|
|
version = "5.1.0";
|
2015-04-13 08:35:43 +00:00
|
|
|
|
2020-04-07 05:09:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "atari800";
|
|
|
|
repo = "atari800";
|
2023-12-29 17:55:48 +00:00
|
|
|
rev = "ATARI800_${lib.replaceStrings ["."] ["_"] finalAttrs.version}";
|
2023-12-29 18:14:55 +00:00
|
|
|
hash = "sha256-OZj0x9+M3jkiXUWgB93JTQzi4OUSBCZ3KtniwcZeVB0=";
|
2006-08-12 22:33:51 +00:00
|
|
|
};
|
2015-04-13 08:35:43 +00:00
|
|
|
|
2023-12-29 17:55:48 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
];
|
2020-04-07 05:09:52 +00:00
|
|
|
|
2023-12-29 17:55:48 +00:00
|
|
|
buildInputs = [
|
|
|
|
SDL
|
|
|
|
libGL
|
|
|
|
libGLU
|
|
|
|
libX11
|
|
|
|
readline
|
|
|
|
zlib
|
|
|
|
];
|
2015-04-13 08:35:43 +00:00
|
|
|
|
2018-07-25 21:44:21 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--target=default"
|
2023-12-29 17:55:48 +00:00
|
|
|
(lib.enableFeature true "riodevice")
|
|
|
|
(lib.withFeature true "opengl")
|
|
|
|
(lib.withFeature true "readline")
|
|
|
|
(lib.withFeature true "x")
|
|
|
|
(lib.withFeatureAs true "sound" "sdl")
|
|
|
|
(lib.withFeatureAs true "video" "sdl")
|
2018-07-25 21:44:21 +00:00
|
|
|
];
|
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 = ''
|
2023-12-29 17:55:48 +00:00
|
|
|
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.
|
2015-04-13 08:35:43 +00:00
|
|
|
'';
|
2023-12-29 17:55:48 +00:00
|
|
|
license = with lib.licenses; [ gpl2Plus ];
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
2021-01-15 13:21:58 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2016-08-02 15:51:05 +00:00
|
|
|
};
|
2023-12-29 17:55:48 +00:00
|
|
|
})
|