2016-01-04 12:36:49 +00:00
|
|
|
{ stdenv, fetchurl, mesa, ioquake3, makeWrapper }:
|
|
|
|
|
|
|
|
{ paks, name ? (stdenv.lib.head paks).name, description ? "" }:
|
2006-01-27 23:51:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2016-01-04 12:36:49 +00:00
|
|
|
name = "${name}-${ioquake3.name}";
|
|
|
|
|
2006-01-27 23:51:36 +00:00
|
|
|
builder = ./builder.sh;
|
2008-06-14 21:55:48 +01:00
|
|
|
|
2016-01-04 12:36:49 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
2006-10-11 17:45:55 +01:00
|
|
|
|
2016-01-04 12:36:49 +00:00
|
|
|
inherit paks mesa;
|
|
|
|
|
|
|
|
game = ioquake3;
|
2006-10-11 17:45:55 +01:00
|
|
|
|
2015-01-15 04:25:26 +00:00
|
|
|
gcc = stdenv.cc.cc;
|
2016-01-04 12:36:49 +00:00
|
|
|
|
|
|
|
preferLocalBuild = true;
|
2008-06-14 21:55:48 +01:00
|
|
|
|
2006-10-11 17:45:55 +01:00
|
|
|
meta = {
|
|
|
|
inherit description;
|
|
|
|
};
|
2006-01-27 23:51:36 +00:00
|
|
|
}
|