mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
3ba77c1b40
handling OpenGL. svn path=/nixpkgs/trunk/; revision=4616
28 lines
640 B
Nix
28 lines
640 B
Nix
{stdenv, fetchurl, xlibs, mesa}:
|
|
|
|
assert stdenv.system == "i686-linux";
|
|
|
|
let {
|
|
|
|
raw = stdenv.mkDerivation {
|
|
name = "ut2004-demo-3120";
|
|
src = fetchurl {
|
|
url = http://ftp.gameaholic.com/pub/demos/ut2004-lnx-demo-3120.run.bz2;
|
|
md5 = "da200b043add9d083f6aa7581e6829f0";
|
|
};
|
|
builder = ./builder.sh;
|
|
};
|
|
|
|
body = stdenv.mkDerivation {
|
|
name = raw.name;
|
|
builder = ./make-wrapper.sh;
|
|
inherit raw mesa;
|
|
inherit (xlibs) libX11 libXext;
|
|
mesaSwitch = ../../build-support/opengl/mesa-switch.sh;
|
|
};
|
|
|
|
}
|
|
|
|
# http://mirror1.icculus.org/ut2004/ut2004-lnxpatch3204.tar.bz2
|
|
# 5f659552095b878a029b917d216d9664
|