at 23.11-beta 49 lines 1.2 kB view raw
1{ lib 2, stdenv 3, fetchurl 4, SDL 5, alsa-lib 6, gcc-unwrapped 7, libICE 8, libSM 9, libX11 10, libXext 11}: 12 13stdenv.mkDerivation (finalAttrs: { 14 pname = "atari++"; 15 version = "1.85"; 16 17 src = fetchurl { 18 url = "http://www.xl-project.com/download/atari++_${finalAttrs.version}.tar.gz"; 19 hash = "sha256-LbGTVUs1XXR+QfDhCxX9UMkQ3bnk4z0ckl94Cwwe9IQ="; 20 }; 21 22 buildInputs = [ 23 SDL 24 alsa-lib 25 gcc-unwrapped 26 libICE 27 libSM 28 libX11 29 libXext 30 ]; 31 32 postFixup = '' 33 patchelf --set-rpath ${lib.makeLibraryPath finalAttrs.buildInputs} "$out/bin/atari++" 34 ''; 35 36 meta = with lib; { 37 homepage = "http://www.xl-project.com/"; 38 description = "An enhanced, cycle-accurated Atari emulator"; 39 longDescription = '' 40 The Atari++ Emulator is a Unix based emulator of the Atari eight bit 41 computers, namely the Atari 400 and 800, the Atari 400XL, 800XL and 130XE, 42 and the Atari 5200 game console. The emulator is auto-configurable and 43 will compile on a variety of systems (Linux, Solaris, Irix). 44 ''; 45 maintainers = [ maintainers.AndersonTorres ]; 46 license = licenses.gpl2Plus; 47 platforms = lib.platforms.linux; 48 }; 49})