forked from mirrors/nixpkgs
28f5eccd8d
Now, the expression will not install ROM files anymore. It is easier the final user install them locally by himself, in a local directory. Also, it appears that there is a missing ROM in the package provided by the project's site.
33 lines
1 KiB
Nix
33 lines
1 KiB
Nix
{ stdenv, fetchurl
|
|
, unzip, zlib, SDL, readline, mesa, libX11 }:
|
|
|
|
with stdenv.lib;
|
|
stdenv.mkDerivation rec{
|
|
name = "atari800-${version}";
|
|
version = "3.1.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/atari800/atari800/${version}/${name}.tar.gz";
|
|
sha256 = "030yz5l1wyq9l0dmiimiiwpzrjr43whycd409xhhpnrdx76046wh";
|
|
};
|
|
|
|
buildInputs = [ unzip zlib SDL readline mesa libX11 ];
|
|
|
|
configureFlags = "--target=default --with-video=sdl --with-sound=sdl --with-readline --with-opengl --with-x --enable-riodevice";
|
|
|
|
preConfigure = "cd src";
|
|
|
|
meta = {
|
|
homepage = "http://atari800.sourceforge.net/";
|
|
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;
|
|
};
|
|
}
|