k3s: format with nixfmt-rfc-style
[NixPkgs.git] / pkgs / games / flare / engine.nix
bloba1f8761815aa0e08388153ebf68bbad9c471dc50
1 { lib, stdenv, fetchFromGitHub, cmake, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, Cocoa }:
3 stdenv.mkDerivation rec {
4   pname = "flare-engine";
5   version = "1.14";
7   src = fetchFromGitHub {
8     owner = "flareteam";
9     repo = pname;
10     rev = "v${version}";
11     hash = "sha256-DIzfTqwZJ8NAPB/TWzvPjepHb7hIbIr+Kk+doXJmpLc=";
12   };
14   patches = [ ./desktop.patch ];
16   nativeBuildInputs = [ cmake ];
17   buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf ]
18     ++ lib.optional stdenv.isDarwin Cocoa;
20   meta = with lib; {
21     description = "Free/Libre Action Roleplaying Engine";
22     homepage = "https://github.com/flareteam/flare-engine";
23     maintainers = with maintainers; [ aanderse McSinyx ];
24     license = [ licenses.gpl3 ];
25     platforms = platforms.unix;
26   };