tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
atari++: refactor
Anderson Torres
2 years ago
ada2485f
9fec09d9
+29
-12
1 changed file
expand all
collapse all
unified
split
pkgs
applications
emulators
atari++
default.nix
+29
-12
pkgs/applications/emulators/atari++/default.nix
···
1
-
{ lib, stdenv, fetchurl, libSM, libX11, libICE, SDL, alsa-lib, gcc-unwrapped, libXext }:
0
0
0
0
0
0
0
0
0
0
2
3
-
stdenv.mkDerivation rec {
4
pname = "atari++";
5
version = "1.85";
6
7
src = fetchurl {
8
-
url = "http://www.xl-project.com/download/${pname}_${version}.tar.gz";
9
-
sha256 = "sha256-LbGTVUs1XXR+QfDhCxX9UMkQ3bnk4z0ckl94Cwwe9IQ=";
10
};
11
12
-
buildInputs = [ libSM libX11 SDL libICE alsa-lib gcc-unwrapped libXext ];
0
0
0
0
0
0
0
0
13
14
postFixup = ''
15
-
patchelf --set-rpath ${lib.makeLibraryPath buildInputs} "$out/bin/atari++"
16
'';
17
18
meta = with lib; {
19
homepage = "http://www.xl-project.com/";
20
description = "An enhanced, cycle-accurated Atari emulator";
21
longDescription = ''
22
-
The Atari++ Emulator is a Unix based emulator of the Atari eight
23
-
bit computers, namely the Atari 400 and 800, the Atari 400XL,
24
-
800XL and 130XE, and the Atari 5200 game console. The emulator
25
-
is auto-configurable and will compile on a variety of systems
26
-
(Linux, Solaris, Irix).
27
'';
28
maintainers = [ maintainers.AndersonTorres ];
29
license = licenses.gpl2Plus;
30
platforms = lib.platforms.linux;
31
};
32
-
}
···
1
+
{ lib
2
+
, stdenv
3
+
, fetchurl
4
+
, SDL
5
+
, alsa-lib
6
+
, gcc-unwrapped
7
+
, libICE
8
+
, libSM
9
+
, libX11
10
+
, libXext
11
+
}:
12
13
+
stdenv.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).
0
44
'';
45
maintainers = [ maintainers.AndersonTorres ];
46
license = licenses.gpl2Plus;
47
platforms = lib.platforms.linux;
48
};
49
+
})