about summary refs log tree commit diff
path: root/pkgs/by-name/at
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-12-29 14:41:25 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-12-29 15:19:48 -0300
commit6f4daaafe58ce280cba781498279b5a22bf38623 (patch)
treefec13a16f51c3ac15c321b93f6bbfedd6a4a090e /pkgs/by-name/at
parentfb9e0d394d195aadad0fadc0b44a7ab30633c764 (diff)
ataripp: migrate to by-name
Diffstat (limited to 'pkgs/by-name/at')
-rw-r--r--pkgs/by-name/at/ataripp/package.nix49
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/by-name/at/ataripp/package.nix b/pkgs/by-name/at/ataripp/package.nix
new file mode 100644
index 0000000000000..f78bf7e4cf06a
--- /dev/null
+++ b/pkgs/by-name/at/ataripp/package.nix
@@ -0,0 +1,49 @@
+{ lib
+, stdenv
+, fetchurl
+, SDL
+, alsa-lib
+, gcc-unwrapped
+, libICE
+, libSM
+, libX11
+, libXext
+}:
+
+stdenv.mkDerivation (finalAttrs: {
+  pname = "atari++";
+  version = "1.85";
+
+  src = fetchurl {
+    url = "http://www.xl-project.com/download/atari++_${finalAttrs.version}.tar.gz";
+    hash = "sha256-LbGTVUs1XXR+QfDhCxX9UMkQ3bnk4z0ckl94Cwwe9IQ=";
+  };
+
+  buildInputs = [
+    SDL
+    alsa-lib
+    gcc-unwrapped
+    libICE
+    libSM
+    libX11
+    libXext
+  ];
+
+  postFixup = ''
+    patchelf --set-rpath ${lib.makeLibraryPath finalAttrs.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;
+  };
+})