diff options
Diffstat (limited to 'nixpkgs/pkgs/misc/emulators/atari++/default.nix')
-rw-r--r-- | nixpkgs/pkgs/misc/emulators/atari++/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/misc/emulators/atari++/default.nix b/nixpkgs/pkgs/misc/emulators/atari++/default.nix new file mode 100644 index 000000000000..5a37b1b32c5b --- /dev/null +++ b/nixpkgs/pkgs/misc/emulators/atari++/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchurl, libSM, libX11, libICE, SDL, alsaLib, gcc-unwrapped, libXext }: + +with stdenv.lib; +stdenv.mkDerivation rec{ + name = "atari++-${version}"; + version = "1.81"; + + src = fetchurl { + url = "http://www.xl-project.com/download/atari++_${version}.tar.gz"; + sha256 = "1sv268dsjddirhx47zaqgqiahy6zjxj7xaiiksd1gjvs4lvf3cdg"; + }; + + buildInputs = [ libSM libX11 SDL libICE alsaLib gcc-unwrapped libXext ]; + + postFixup = '' + patchelf --set-rpath ${stdenv.lib.makeLibraryPath buildInputs} "$out/bin/atari++" + ''; + + meta = { + homepage = http://www.xl-project.com/; + description = "An enhanced, cycle-accurated Atari emulator"; + longDescription = '' + The Atari++ Emulator is a Unix based emulator of the Atari eight + bit computers, namely the Atari 400 and 800, the Atari 400XL, + 800XL and 130XE, and the Atari 5200 game console. The emulator + is auto-configurable and will compile on a variety of systems + (Linux, Solaris, Irix). + ''; + maintainers = [ maintainers.AndersonTorres ]; + license = licenses.gpl2Plus; + platforms = stdenv.lib.platforms.linux; + }; +} |