about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@gmail.com>2015-04-17 13:23:39 -0300
committerAndersonTorres <torres.anderson.85@gmail.com>2015-04-17 21:39:25 -0300
commit28f5eccd8df275e4ccf8775d810b34c69984856f (patch)
tree3ae5d33bde7dcb219e5c354942b829c3f450fa3e /pkgs
parenteae83dc47221108cc8e5ad6c1221ba9ab22bad01 (diff)
downloadnixlib-28f5eccd8df275e4ccf8775d810b34c69984856f.tar
nixlib-28f5eccd8df275e4ccf8775d810b34c69984856f.tar.gz
nixlib-28f5eccd8df275e4ccf8775d810b34c69984856f.tar.bz2
nixlib-28f5eccd8df275e4ccf8775d810b34c69984856f.tar.lz
nixlib-28f5eccd8df275e4ccf8775d810b34c69984856f.tar.xz
nixlib-28f5eccd8df275e4ccf8775d810b34c69984856f.tar.zst
nixlib-28f5eccd8df275e4ccf8775d810b34c69984856f.zip
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.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/misc/emulators/atari800/builder.sh13
-rw-r--r--pkgs/misc/emulators/atari800/default.nix8
2 files changed, 2 insertions, 19 deletions
diff --git a/pkgs/misc/emulators/atari800/builder.sh b/pkgs/misc/emulators/atari800/builder.sh
deleted file mode 100644
index afb9404657ae..000000000000
--- a/pkgs/misc/emulators/atari800/builder.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-source $stdenv/setup
-
-preConfigure() {
-    cd src
-}
-
-postInstall() {
-    romsDir=$out/share/atari800/roms
-    mkdir -p $romsDir
-    unzip $rom -d $romsDir
-}
-
-genericBuild
diff --git a/pkgs/misc/emulators/atari800/default.nix b/pkgs/misc/emulators/atari800/default.nix
index fb79b3379bdc..af8d64982a0b 100644
--- a/pkgs/misc/emulators/atari800/default.nix
+++ b/pkgs/misc/emulators/atari800/default.nix
@@ -5,22 +5,18 @@ with stdenv.lib;
 stdenv.mkDerivation rec{
   name = "atari800-${version}";
   version = "3.1.0";
-  builder = ./builder.sh;
 
   src = fetchurl {
     url = "mirror://sourceforge/atari800/atari800/${version}/${name}.tar.gz";
     sha256 = "030yz5l1wyq9l0dmiimiiwpzrjr43whycd409xhhpnrdx76046wh";
   };
 
-  rom = fetchurl {
-    url = http://downloads.sourceforge.net/project/atari800/ROM/Original%20XL%20ROM/xf25.zip;
-    sha256 = "12jbawxs04i0wm3910n7f3phsybdp8nndxc0xlsnzp8k0k8hmblq";
-  };
-
   buildInputs = [ unzip zlib SDL readline mesa libX11 ];
 
   configureFlags = "--target=default --with-video=sdl --with-sound=sdl --with-readline --with-opengl --with-x --enable-riodevice";
 
+  preConfigure = "cd src";
+
   meta = {
     homepage = "http://atari800.sourceforge.net/";
     description = "An Atari 8-bit emulator";