lol
1{
2 lib,
3 buildEnv,
4 callPackage,
5 makeWrapper,
6}:
7
8buildEnv {
9 name = "flare-1.14";
10
11 paths = [
12 (callPackage ./engine.nix { })
13 (callPackage ./game.nix { })
14 ];
15
16 nativeBuildInputs = [ makeWrapper ];
17 postBuild = ''
18 mkdir -p $out/bin
19 makeWrapper $out/games/flare $out/bin/flare --chdir "$out/share/games/flare"
20 '';
21
22 meta = with lib; {
23 description = "Fantasy action RPG using the FLARE engine";
24 mainProgram = "flare";
25 homepage = "https://flarerpg.org/";
26 maintainers = with maintainers; [
27 aanderse
28 McSinyx
29 ];
30 license = [
31 licenses.gpl3
32 licenses.cc-by-sa-30
33 ];
34 platforms = platforms.unix;
35 };
36}