git.iko.soy/typeable/nixpkgs
on master help sign in
Atari800: no more ROM install

Now, the expression will not install ROM files anymore. It is easier the final user install them locally by himself, in a local directory. Also, it appears that there is a missing ROM in the package provided by the project's site.

commit28f5eccd8df275e4ccf8775d810b34c69984856f authorAndersonTorres <torres.anderson.85@gmail.com> dateFri 17 Apr 2015, 13:23 (12 years ago) parenteae83dc
2 files changed+2−19
pkgs/misc/emulators/atari800/builder.sh−13 pkgs/misc/emulators/atari800/default.nix+2−6
pkgs/misc/emulators/atari800/builder.shdeleted−13
@@ -1,13 +0,0 @@
1−source $stdenv/setup
2−
3−preConfigure() {
4− cd src
5−}
6−
7−postInstall() {
8− romsDir=$out/share/atari800/roms
9− mkdir -p $romsDir
10− unzip $rom -d $romsDir
11−}
12−
13−genericBuild
pkgs/misc/emulators/atari800/default.nix+2−6
@@ -5,22 +5,18 @@ with stdenv.lib;
55stdenv.mkDerivation rec{
66 name = "atari800-${version}";
77 version = "3.1.0";
8− builder = ./builder.sh;
98
109 src = fetchurl {
1110 url = "mirror://sourceforge/atari800/atari800/${version}/${name}.tar.gz";
1211 sha256 = "030yz5l1wyq9l0dmiimiiwpzrjr43whycd409xhhpnrdx76046wh";
1312 };
1413
15− rom = fetchurl {
16− url = http://downloads.sourceforge.net/project/atari800/ROM/Original%20XL%20ROM/xf25.zip;
17− sha256 = "12jbawxs04i0wm3910n7f3phsybdp8nndxc0xlsnzp8k0k8hmblq";
18− };
19−
2014 buildInputs = [ unzip zlib SDL readline mesa libX11 ];
2115
2216 configureFlags = "--target=default --with-video=sdl --with-sound=sdl --with-readline --with-opengl --with-x --enable-riodevice";
2317
18+ preConfigure = "cd src";
19+
2420 meta = {
2521 homepage = "http://atari800.sourceforge.net/";
2622 description = "An Atari 8-bit emulator";