mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
a0159dee8e
URLs to http://nix.cs.uu.nl/dist/tarballs. With content-addressable mirror support (r9190, NIXPKGS-70) this is no longer necessary: fetchurl will try to download from that location automatically. So we can keep the original URLs. svn path=/nixpkgs/trunk/; revision=9192
33 lines
939 B
Nix
33 lines
939 B
Nix
{stdenv, fetchurl, SDL, SDL_mixer, zlib, libpng, unzip}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "exult-1.2";
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
url = http://surfnet.dl.sourceforge.net/sourceforge/exult/exult-1.2.tar.gz;
|
|
md5 = "0fc88dee74a91724d25373ba0a8670ba";
|
|
};
|
|
|
|
buildInputs = [SDL SDL_mixer zlib libpng unzip];
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${SDL_mixer}/include/SDL";
|
|
|
|
# Digital recordings of the music on an original Roland MT-32. So
|
|
# we don't need actual MIDI playback capability.
|
|
musicFiles = [
|
|
(fetchurl {
|
|
url = http://surfnet.dl.sourceforge.net/sourceforge/exult/U7MusicOGG_1of2.zip;
|
|
md5 = "7746d1a9164fd67509107797496553bf";
|
|
})
|
|
(fetchurl {
|
|
url = http://surfnet.dl.sourceforge.net/sourceforge/exult/U7MusicOGG_2of2.zip;
|
|
md5 = "cdae5956d7c52f35e90317913a660123";
|
|
})
|
|
];
|
|
|
|
meta = {
|
|
description = "A reimplementation of the Ultima VII game engine";
|
|
};
|
|
}
|