mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
a81a4cfd6e
svn path=/nixpkgs/trunk/; revision=15108
34 lines
869 B
Nix
34 lines
869 B
Nix
{stdenv, fetchurl, mesa, openal, autoconf, automake, libtool, freealut, wxGTK,
|
|
freetype, fftw, SDL, SDL_net, zlib, libpng, libjpeg} :
|
|
|
|
stdenv.mkDerivation {
|
|
name = "scorched3d-42.1";
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/scorched3d/Scorched3D-42.1-src.tar.gz;
|
|
sha256 = "0vhhi68ii5ldxbacsiqccsascrn3q033hnaa1ha8r9gxspzcqkl8";
|
|
};
|
|
|
|
buildInputs = [ mesa openal autoconf automake libtool freealut wxGTK
|
|
freetype fftw SDL SDL_net zlib libpng libjpeg ];
|
|
|
|
unpackPhase = "tar xvzf $src ; cd scorched";
|
|
|
|
patches = [ ./scorched3d-42.1-fixups.patch ./file-existence.patch ];
|
|
|
|
preConfigure = ''
|
|
set +e
|
|
aclocal
|
|
libtoolize --copy --force
|
|
autoconf
|
|
automake
|
|
libtoolize
|
|
set -e
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://scorched3d.co.uk/;
|
|
description = "3D Clone of the classic Scorched Earth";
|
|
license = "GPLv2+";
|
|
};
|
|
}
|