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 20:55:48 +00:00
|
|
|
|
2016-01-04 12:36:49 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
2006-10-11 16:45:55 +00:00
|
|
|
|
2016-01-04 12:36:49 +00:00
|
|
|
inherit paks mesa;
|
|
|
|
|
|
|
|
game = ioquake3;
|
2006-10-11 16:45:55 +00: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 20:55:48 +00:00
|
|
|
|
2006-10-11 16:45:55 +00:00
|
|
|
meta = {
|
|
|
|
inherit description;
|
|
|
|
};
|
2006-01-27 23:51:36 +00:00
|
|
|
}
|