3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/flare/default.nix
2019-08-03 08:12:24 -04:00

25 lines
609 B
Nix

{ lib, buildEnv, callPackage, makeWrapper, Cocoa }:
buildEnv {
name = "flare-1.11";
paths = [
(callPackage ./engine.nix { inherit Cocoa; })
(callPackage ./game.nix {})
];
buildInputs = [ makeWrapper ];
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";
homepage = "http://flarerpg.org/";
maintainers = [ maintainers.aanderse ];
license = [ licenses.gpl3 licenses.cc-by-sa-30 ];
platforms = platforms.unix;
};
}