openspades: fix build by using fetchurl to download DevPaks27.zip.

This commit is contained in:
Rob Vermaas 2014-08-26 11:48:02 +02:00
parent 92ec3562c3
commit 6c6dbc41fb

View File

@ -19,6 +19,18 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DOPENSPADES_INSTALL_BINARY=bin" ];
enableParallelBuilding = true;
devPack = fetchurl {
url = "http://yvt.jp/files/programs/osppaks/DevPaks27.zip";
sha256 = "05y7wldg70v5ys41fm0c8kipyspn524z4pglwr3p8h0gfz9n52v6";
};
preBuild = ''
cp $devPack Resources/DevPaks27.zip
unzip -u -o Resources/DevPaks27.zip -d Resources/DevPak
'';
# OpenAL is loaded dynamicly
postInstall =
if withOpenal then ''