mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
24 lines
384 B
Nix
24 lines
384 B
Nix
{ stdenv, fetchurl, mesa, ioquake3, makeWrapper }:
|
|
|
|
{ paks, name ? (stdenv.lib.head paks).name, description ? "" }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "${name}-${ioquake3.name}";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
inherit paks mesa;
|
|
|
|
game = ioquake3;
|
|
|
|
gcc = stdenv.cc.cc;
|
|
|
|
preferLocalBuild = true;
|
|
|
|
meta = {
|
|
inherit description;
|
|
};
|
|
}
|