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