From e266c599f4df68b87a164fb893cd26b8a8e86b32 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 12 Jul 2008 17:00:57 +0000 Subject: [PATCH] * Exult 1.4 snapshot. svn path=/nixpkgs/trunk/; revision=12349 --- pkgs/games/exult/snapshot.nix | 44 +++++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 6 +++++ 2 files changed, 50 insertions(+) create mode 100644 pkgs/games/exult/snapshot.nix diff --git a/pkgs/games/exult/snapshot.nix b/pkgs/games/exult/snapshot.nix new file mode 100644 index 000000000000..95643af6a62b --- /dev/null +++ b/pkgs/games/exult/snapshot.nix @@ -0,0 +1,44 @@ +{ stdenv, fetchurl, SDL, SDL_mixer, zlib, libpng, unzip +, autoconf, automake, libtool, bison, flex +}: + +stdenv.mkDerivation { + name = "exult-1.4-pre-svn-20080712-0500"; + + builder = ./builder.sh; + + src = fetchurl { + url = http://www.math.leidenuniv.nl/~wpalenst/cvs/exult-20080712-0500.tar.gz; + sha256 = "186z8qb713yr1wfasfbpgz2wfqwmbh2d6lmgz1v8lhmwmfpkzgc4"; + }; + + buildInputs = [ + SDL SDL_mixer zlib libpng unzip + # The following are only needed because we're building from SVN. + autoconf automake libtool bison flex + ]; + + NIX_CFLAGS_COMPILE = "-I${SDL_mixer}/include/SDL"; + + preConfigure = '' + ./autogen.sh + ''; + + # Digital recordings of the music on an original Roland MT-32. So + # we don't need actual MIDI playback capability. + musicFiles = [ + (fetchurl { + url = mirror://sourceforge/exult/U7MusicOGG_1of2.zip; + md5 = "7746d1a9164fd67509107797496553bf"; + }) + (fetchurl { + url = mirror://sourceforge/exult/U7MusicOGG_2of2.zip; + md5 = "cdae5956d7c52f35e90317913a660123"; + }) + ]; + + meta = { + homepage = http://exult.sourceforge.net/; + description = "A reimplementation of the Ultima VII game engine (pre-release)"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c598bbd4db38..9cc7b669b4da 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6823,6 +6823,12 @@ let pkgs = rec { inherit fetchurl stdenv SDL SDL_mixer zlib libpng unzip; }; + exultSnapshot = lowPrio (import ../games/exult/snapshot.nix { + inherit fetchurl stdenv SDL SDL_mixer zlib libpng unzip + autoconf automake libtool flex; + bison = bison23; + }); + fsg = import ../games/fsg { inherit stdenv fetchurl pkgconfig; inherit (gtkLibs) glib gtk;