summary refs log tree commit diff
path: root/pkgs/games/quake3/demo/default.nix
blob: a25a7caa8c184c86d9e8b68ca0d9260e781cf086 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{stdenv, fetchurl}:

stdenv.mkDerivation {
  name = "quake3demo-1.11-6";
  builder = ./builder.sh;

  # This is needed for pak0.pk3.
  demo = fetchurl {
    url = http://tarballs.nixos.org/linuxq3ademo-1.11-6.x86.gz.sh;
    sha256 = "1v54a1hx1bczk9hgn9qhx8vixsy7xn7wj2pylhfjsybfkgvf7pk4";
  };

  # This is needed for the additional pak?.pk3 files.
  update = fetchurl {
    url = http://tarballs.nixos.org/linuxq3apoint-1.31.x86.run;
    sha256 = "1kp689452zb8jhd67ghisz2055pqxy9awz4vi0hq5qmp7xrp1x58";
  };

  # Don't rebuild if the inputs change, since the output is guaranteed
  # to be this value.
  outputHashMode = "recursive";
  outputHashAlgo = "sha256";
  outputHash = "00453c43a4jnlbm9w9ws1hdi28hkl63xnxbnbqml25h35ckhzs90";
}