From 42b731c4f9c4d7fb201ba5f1773e5efa239c753d Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Fri, 8 Mar 2024 08:13:22 -0300 Subject: [PATCH] aranym: init at 1.1.0 homepage: https://aranym.github.io description: "Atari Running on Any Machine" --- pkgs/by-name/ar/aranym/package.nix | 58 ++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 pkgs/by-name/ar/aranym/package.nix diff --git a/pkgs/by-name/ar/aranym/package.nix b/pkgs/by-name/ar/aranym/package.nix new file mode 100644 index 000000000000..1c43461ef58f --- /dev/null +++ b/pkgs/by-name/ar/aranym/package.nix @@ -0,0 +1,58 @@ +{ + lib, + SDL2, + autoreconfHook, + fetchFromGitHub, + libGLU, + pkg-config, + stdenv, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "aranym"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "aranym"; + repo = "aranym"; + rev = "ARANYM_${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}"; + hash = "sha256-dtcLIA1oC6sPOeGTRmXhMEbuLan9/JWTbQvO5lp3gKo="; + }; + + nativeBuildInputs = [ + autoreconfHook + pkg-config + ]; + + buildInputs = [ + libGLU + SDL2 + ]; + + strictDeps = true; + + meta = { + homepage = "https://aranym.github.io"; + description = "Atari Running on Any Machine"; + longDescription = '' + ARAnyM is a software virtual machine (similar to VirtualBox or Bochs) + designed and developed for running 32-bit Atari ST/TT/Falcon operating + systems (TOS, FreeMiNT, MagiC and Linux-m68k) and TOS/GEM applications on + any kind of hardware - be it an IBM clone (read it as "PC" :-), an Apple, + an Unix server, a graphics workstation or even a portable computer. + + ARAnyM is not meant as an emulator of Atari Falcon (even though it has a + rather high Falcon software compatibility and includes most of Falcon + custom chips including VIDEL and DSP). ARAnyM is better in the sense that + it's not tied to specification of an existing Atari machine so we were + free to select the most complete CPU (68040 with MMU) and FPU (68882), add + loads of RAM (up to 4 GB), host accelerated graphics (even with OpenGL) + and direct access to various host resources including sound, disk drives, + optical storage devices (CD/DVD-ROMs), parallel port and more. + ''; + license = with lib.licenses; [ gpl2Plus ]; + mainProgram = "aranym"; + maintainers = with lib.maintainers; [ AndersonTorres ]; + platforms = lib.platforms.unix; + }; +})