2006-09-12 19:23:28 +04:00
|
|
|
{stdenv, fetchurl, SDL, SDL_mixer, zlib, libpng, unzip}:
|
2006-09-12 04:15:05 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "exult-1.2";
|
2006-09-12 19:23:28 +04:00
|
|
|
builder = ./builder.sh;
|
|
|
|
|
2006-09-12 04:15:05 +04:00
|
|
|
src = fetchurl {
|
2007-08-27 17:01:33 +04:00
|
|
|
url = mirror://sourceforge/exult/exult-1.2.tar.gz;
|
2006-09-12 04:15:05 +04:00
|
|
|
md5 = "0fc88dee74a91724d25373ba0a8670ba";
|
|
|
|
};
|
2006-09-12 19:23:28 +04:00
|
|
|
|
|
|
|
buildInputs = [SDL SDL_mixer zlib libpng unzip];
|
|
|
|
|
2006-09-12 04:15:05 +04:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${SDL_mixer}/include/SDL";
|
2006-09-12 19:23:28 +04:00
|
|
|
|
|
|
|
# Digital recordings of the music on an original Roland MT-32. So
|
|
|
|
# we don't need actual MIDI playback capability.
|
|
|
|
musicFiles = [
|
|
|
|
(fetchurl {
|
2007-08-27 17:01:33 +04:00
|
|
|
url = mirror://sourceforge/exult/U7MusicOGG_1of2.zip;
|
2006-09-12 19:23:28 +04:00
|
|
|
md5 = "7746d1a9164fd67509107797496553bf";
|
|
|
|
})
|
|
|
|
(fetchurl {
|
2007-08-27 17:01:33 +04:00
|
|
|
url = mirror://sourceforge/exult/U7MusicOGG_2of2.zip;
|
2006-09-12 19:23:28 +04:00
|
|
|
md5 = "cdae5956d7c52f35e90317913a660123";
|
|
|
|
})
|
|
|
|
];
|
2006-10-12 14:53:16 +04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A reimplementation of the Ultima VII game engine";
|
|
|
|
};
|
2006-09-12 04:15:05 +04:00
|
|
|
}
|