openspades: fix build by using fetchurl to download DevPaks27.zip.
This commit is contained in:
parent
92ec3562c3
commit
6c6dbc41fb
@ -19,6 +19,18 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DOPENSPADES_INSTALL_BINARY=bin" ];
|
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
|
# OpenAL is loaded dynamicly
|
||||||
postInstall =
|
postInstall =
|
||||||
if withOpenal then ''
|
if withOpenal then ''
|
||||||
|
Loading…
Reference in New Issue
Block a user