mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
f4ea1208ec
*Flags implies a list slightly relevant: > stdenv: start deprecating non-list configureFlags https://github.com/NixOS/nixpkgs/pull/173172 the makeInstalledTests function in `nixos/tests/installed-tests/default.nix` isn't available outside of nixpkgs so it's not a breaking change
19 lines
542 B
Nix
19 lines
542 B
Nix
{ godot, lib }:
|
|
godot.overrideAttrs (oldAttrs: rec {
|
|
pname = "godot-server";
|
|
sconsFlags = [ "target=release" "platform=server" "tools=no" ];
|
|
installPhase = ''
|
|
mkdir -p "$out/bin"
|
|
cp bin/godot_server.* $out/bin/godot-server
|
|
|
|
mkdir "$dev"
|
|
cp -r modules/gdnative/include $dev
|
|
|
|
mkdir -p "$man/share/man/man6"
|
|
cp misc/dist/linux/godot.6 "$man/share/man/man6/"
|
|
'';
|
|
meta.description =
|
|
"Free and Open Source 2D and 3D game engine (server build)";
|
|
meta.maintainers = with lib.maintainers; [ twey yusdacra ];
|
|
})
|