nixpkgs-suyu/pkgs/games/flare/engine.nix

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

28 lines
764 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, Cocoa }:
2019-05-19 14:06:24 +02:00
stdenv.mkDerivation rec {
pname = "flare-engine";
2023-03-30 16:10:31 +02:00
version = "1.14";
2019-05-19 14:06:24 +02:00
src = fetchFromGitHub {
owner = "flareteam";
repo = pname;
rev = "v${version}";
2023-03-30 16:10:31 +02:00
hash = "sha256-DIzfTqwZJ8NAPB/TWzvPjepHb7hIbIr+Kk+doXJmpLc=";
2019-05-19 14:06:24 +02:00
};
2021-07-15 10:11:37 +02:00
patches = [ ./desktop.patch ];
2019-05-19 14:06:24 +02:00
nativeBuildInputs = [ cmake ];
2019-08-03 14:12:24 +02:00
buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf ]
2021-01-15 05:31:39 +01:00
++ lib.optional stdenv.isDarwin Cocoa;
2019-05-19 14:06:24 +02:00
meta = with lib; {
2019-05-19 14:06:24 +02:00
description = "Free/Libre Action Roleplaying Engine";
homepage = "https://github.com/flareteam/flare-engine";
maintainers = with maintainers; [ aanderse McSinyx ];
2019-05-19 14:06:24 +02:00
license = [ licenses.gpl3 ];
platforms = platforms.unix;
};
}