mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
26 lines
656 B
Nix
26 lines
656 B
Nix
{ lib, buildEnv, callPackage, makeWrapper, Cocoa }:
|
|
|
|
buildEnv {
|
|
name = "flare-1.14";
|
|
|
|
paths = [
|
|
(callPackage ./engine.nix { inherit Cocoa; })
|
|
(callPackage ./game.nix {})
|
|
];
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
postBuild = ''
|
|
mkdir -p $out/bin
|
|
makeWrapper $out/games/flare $out/bin/flare --chdir "$out/share/games/flare"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Fantasy action RPG using the FLARE engine";
|
|
mainProgram = "flare";
|
|
homepage = "https://flarerpg.org/";
|
|
maintainers = with maintainers; [ aanderse McSinyx ];
|
|
license = [ licenses.gpl3 licenses.cc-by-sa-30 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|