mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
* Atari800 - an 8-bit Atari emulator.
svn path=/nixpkgs/trunk/; revision=6110
This commit is contained in:
parent
b8da1b671d
commit
37832b3af0
15
pkgs/misc/emulators/atari800/builder.sh
Normal file
15
pkgs/misc/emulators/atari800/builder.sh
Normal file
@ -0,0 +1,15 @@
|
||||
source $stdenv/setup
|
||||
|
||||
preConfigure=preConfigure
|
||||
preConfigure() {
|
||||
cd src
|
||||
}
|
||||
|
||||
postInstall=postInstall
|
||||
postInstall() {
|
||||
romsDir=$out/share/atari800/roms
|
||||
ensureDir $romsDir
|
||||
unzip $rom -d $romsDir
|
||||
}
|
||||
|
||||
genericBuild
|
16
pkgs/misc/emulators/atari800/default.nix
Normal file
16
pkgs/misc/emulators/atari800/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{stdenv, fetchurl, unzip, zlib, SDL}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "atari800-2.0.2";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://surfnet.dl.sourceforge.net/sourceforge/atari800/atari800-2.0.2.tar.gz;
|
||||
md5 = "a81f8a5ace5fd89eb6094faef7c936af";
|
||||
};
|
||||
rom = fetchurl {
|
||||
url = http://surfnet.dl.sourceforge.net/sourceforge/atari800/xf25.zip;
|
||||
md5 = "4dc3b6b4313e9596c4d474785a37b94d";
|
||||
};
|
||||
buildInputs = [unzip zlib SDL];
|
||||
configureFlags = "--target=sdl";
|
||||
}
|
@ -2528,11 +2528,11 @@ rec {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
/*
|
||||
atari800 = (import ../misc/emulators/atari800) {
|
||||
inherit fetchurl stdenv zlib SDL;
|
||||
inherit fetchurl stdenv unzip zlib SDL;
|
||||
};
|
||||
|
||||
/*
|
||||
ataripp = (import ../misc/emulators/atari++) {
|
||||
inherit fetchurl stdenv x11 SDL;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user