nixpkgs/pkgs/applications/emulators/atari800/default.nix
Artturin 05a2dfd674 lib.replaceChars: warn about being a deprecated alias
replaceStrings has been in nix since 2015(nix 1.10)

so it is safe to remove the fallback

d6d5885c15
2022-12-15 22:25:51 +02:00

43 lines
1.1 KiB
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook
, zlib, SDL, readline, libGLU, libGL, libX11 }:
with lib;
stdenv.mkDerivation rec {
pname = "atari800";
version = "5.0.0";
src = fetchFromGitHub {
owner = "atari800";
repo = "atari800";
rev = "ATARI800_${replaceStrings ["."] ["_"] version}";
sha256 = "sha256-+eJXhqPyU0GhmzF7DbteTXzEnn5klCor9Io/UgXQfQg=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ zlib SDL readline libGLU libGL libX11 ];
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;
platforms = lib.platforms.linux;
};
}