nixpkgs/pkgs/games/quake3/demo/default.nix
Eelco Dolstra ec882e97d5 * Use a non-corrupt copy of linuxq3apoint-1.31.x86.run.
* Make the baseq3 files a fixed-output derivation, so that if
  (say) stdenv changes, it doesn't have to be rebuilt.  This
  is nice because the baseq3 directory is pretty big.

svn path=/nixpkgs/trunk/; revision=8781
2007-05-27 14:57:59 +00:00

25 lines
723 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "quake3demo-1.11-6";
builder = ./builder.sh;
# This is needed for pak0.pk3.
demo = fetchurl {
url = http://losser.st-lab.cs.uu.nl/~eelco/dist/linuxq3ademo-1.11-6.x86.gz.sh;
md5 = "484610c1ce34272223a52ec331c99d5d";
};
# This is needed for the additional pak?.pk3 files.
update = fetchurl {
url = http://losser.st-lab.cs.uu.nl/~eelco/dist/linuxq3apoint-1.31.x86.run;
md5 = "2620b9eefb6d0775f766b6570870157a";
};
# Don't rebuild if the inputs change, since the output is guaranteed
# to be this value.
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = "00453c43a4jnlbm9w9ws1hdi28hkl63xnxbnbqml25h35ckhzs90";
}