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