nixpkgs/pkgs/games/generator/default.nix
Eelco Dolstra dc29a4ac48 * Added SDL, Simple DirectMedia Layer.
* Added NASM, the Netwide Assembler.
* Added Generator, an emulator for Sega Genesis / Mega Drive machines.
  Built with XVideo patch. Strangely it crashes with a GDK error when
  started in normal mode.  However, with the "-a" switch (arcade mode)
  it works, and subsequently switching back to windowed mode (Ctrl-F)
  also works.

svn path=/nixpkgs/trunk/; revision=1509
2004-09-26 18:12:51 +00:00

14 lines
418 B
Nix

{stdenv, fetchurl, gtk, SDL, nasm}:
stdenv.mkDerivation {
name = "generator-0.35-cbiere";
src = fetchurl {
url = http://www.ghostwhitecrab.com/generator/generator-0.35-cbiere.tar.bz2;
md5 = "6ec4379d8c6c794ec59b9d61e73fb73d";
};
configureFlags = "--with-gtk --with-raze --with-sdl-audio";
buildInputs = [gtk SDL nasm];
# Only required when not using SDL audio.
# patches = [./soundcard.patch];
}