mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
69b393ace5
These URLs are reported as problematic by Repology. It could be a permanent redirection or the page does not exist anymore
25 lines
610 B
Nix
25 lines
610 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 = "https://flarerpg.org/";
|
|
maintainers = [ maintainers.aanderse ];
|
|
license = [ licenses.gpl3 licenses.cc-by-sa-30 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|