nixpkgs/pkgs/games/flare/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
632 B
Nix
Raw Normal View History

2019-08-03 14:12:24 +02:00
{ lib, buildEnv, callPackage, makeWrapper, Cocoa }:
2019-05-19 14:06:24 +02:00
buildEnv {
2022-02-10 16:45:00 +01:00
name = "flare-1.13.04";
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 {})
];
nativeBuildInputs = [ makeWrapper ];
2019-05-19 14:06:24 +02:00
postBuild = ''
mkdir -p $out/bin
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";
homepage = "https://flarerpg.org/";
maintainers = with maintainers; [ aanderse McSinyx ];
2019-05-19 14:06:24 +02:00
license = [ licenses.gpl3 licenses.cc-by-sa-30 ];
platforms = platforms.unix;
};
}