summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/emulators/atari++
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-02-15 23:28:16 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-02-16 01:38:20 -0300
commit8d65e832f0a18f60e2040940c80d96373ac8b88c (patch)
tree3d6ade66b2a81403e3852b80b9e7c660699b6ed6 /pkgs/applications/emulators/atari++
parent19574af0af3ffaf7c9e359744ed32556f34536bd (diff)
Move misc/emulators to applications/emulators - part 1
Emulators form a class by themselves. So, they should be moved to applications/.
Diffstat (limited to 'pkgs/applications/emulators/atari++')
-rw-r--r--pkgs/applications/emulators/atari++/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/atari++/default.nix b/pkgs/applications/emulators/atari++/default.nix
new file mode 100644
index 000000000000..5e35dcaebd0f
--- /dev/null
+++ b/pkgs/applications/emulators/atari++/default.nix
@@ -0,0 +1,32 @@
+{ lib, stdenv, fetchurl, libSM, libX11, libICE, SDL, alsa-lib, gcc-unwrapped, libXext }:
+
+stdenv.mkDerivation rec {
+ pname = "atari++";
+ version = "1.83";
+
+ src = fetchurl {
+ url = "http://www.xl-project.com/download/${pname}_${version}.tar.gz";
+ sha256 = "04fm2ic2qi4a52mi72wcaxyrpll4k8vvchx3qrik8rhg3jrxgm47";
+ };
+
+ buildInputs = [ libSM libX11 SDL libICE alsa-lib gcc-unwrapped libXext ];
+
+ postFixup = ''
+ patchelf --set-rpath ${lib.makeLibraryPath buildInputs} "$out/bin/atari++"
+ '';
+
+ meta = with lib; {
+ 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 = lib.platforms.linux;
+ };
+}