2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildEnv, callPackage, makeWrapper, Cocoa }:
|
|
|
|
|
|
|
|
buildEnv {
|
2022-02-10 20:34:41 +00:00
|
|
|
name = "flare-1.13.04";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
paths = [
|
|
|
|
(callPackage ./engine.nix { inherit Cocoa; })
|
|
|
|
(callPackage ./game.nix {})
|
|
|
|
];
|
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
2020-04-24 23:36:52 +00:00
|
|
|
postBuild = ''
|
|
|
|
mkdir -p $out/bin
|
2022-04-27 09:35:20 +00:00
|
|
|
makeWrapper $out/games/flare $out/bin/flare --chdir "$out/share/games/flare"
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Fantasy action RPG using the FLARE engine";
|
|
|
|
homepage = "https://flarerpg.org/";
|
2022-02-10 20:34:41 +00:00
|
|
|
maintainers = with maintainers; [ aanderse McSinyx ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = [ licenses.gpl3 licenses.cc-by-sa-30 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|