nixpkgs/pkgs/by-name/at/ataripp/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
1.2 KiB
Nix
Raw Normal View History

2023-04-22 12:35:02 +00:00
{ lib
, stdenv
, SDL
, alsa-lib
2023-12-29 18:04:06 +00:00
, fetchurl
2023-04-22 12:35:02 +00:00
, gcc-unwrapped
, libICE
, libSM
, libX11
, libXext
}:
2023-04-22 12:35:02 +00:00
stdenv.mkDerivation (finalAttrs: {
pname = "atari++";
2023-04-22 10:42:09 +00:00
version = "1.85";
src = fetchurl {
2023-04-22 12:35:02 +00:00
url = "http://www.xl-project.com/download/atari++_${finalAttrs.version}.tar.gz";
hash = "sha256-LbGTVUs1XXR+QfDhCxX9UMkQ3bnk4z0ckl94Cwwe9IQ=";
};
2023-04-22 12:35:02 +00:00
buildInputs = [
SDL
alsa-lib
gcc-unwrapped
libICE
libSM
libX11
libXext
];
2018-02-08 15:43:34 +00:00
postFixup = ''
2023-12-29 18:04:06 +00:00
patchelf \
--set-rpath ${lib.makeLibraryPath finalAttrs.buildInputs} \
"$out/bin/atari++"
2018-02-08 15:43:34 +00:00
'';
2016-08-29 17:15:10 +00:00
2023-12-29 18:04:06 +00:00
meta = {
homepage = "http://www.xl-project.com/";
description = "An enhanced, cycle-accurated Atari emulator";
mainProgram = "atari++";
longDescription = ''
2023-04-22 12:35:02 +00:00
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).
'';
2023-12-29 18:04:06 +00:00
maintainers = with lib.maintainers; [ AndersonTorres ];
license = with lib.licenses; [ gpl2Plus ];
platforms = lib.platforms.unix;
2016-08-02 15:51:05 +00:00
};
2023-04-22 12:35:02 +00:00
})