2019-08-03 12:12:24 +00:00
|
|
|
{ lib, buildEnv, callPackage, makeWrapper, Cocoa }:
|
2019-05-19 12:06:24 +00:00
|
|
|
|
|
|
|
buildEnv {
|
2021-08-03 07:57:06 +00:00
|
|
|
name = "flare-1.12";
|
2019-05-19 12:06:24 +00:00
|
|
|
|
|
|
|
paths = [
|
2019-08-03 12:12:24 +00:00
|
|
|
(callPackage ./engine.nix { inherit Cocoa; })
|
2019-05-19 12:06:24 +00:00
|
|
|
(callPackage ./game.nix {})
|
|
|
|
];
|
|
|
|
|
2021-07-12 19:55:53 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
2019-05-19 12:06:24 +00:00
|
|
|
postBuild = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
makeWrapper $out/games/flare $out/bin/flare --run "cd $out/share/games/flare"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Fantasy action RPG using the FLARE engine";
|
2019-12-08 16:50:31 +00:00
|
|
|
homepage = "https://flarerpg.org/";
|
2019-05-19 12:06:24 +00:00
|
|
|
maintainers = [ maintainers.aanderse ];
|
|
|
|
license = [ licenses.gpl3 licenses.cc-by-sa-30 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|