Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
54 lines
1.0 KiB
Nix
54 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
fetchpatch,
|
|
cmake,
|
|
SDL2,
|
|
SDL2_image,
|
|
SDL2_mixer,
|
|
SDL2_ttf,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "flare-engine";
|
|
version = "1.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "flareteam";
|
|
repo = "flare-engine";
|
|
tag = "v${version}";
|
|
hash = "sha256-DIzfTqwZJ8NAPB/TWzvPjepHb7hIbIr+Kk+doXJmpLc=";
|
|
};
|
|
|
|
patches = [
|
|
./desktop.patch
|
|
|
|
# cmake-4 compatibility patch
|
|
(fetchpatch {
|
|
name = "cmake-4.patch";
|
|
url = "https://github.com/flareteam/flare-engine/commit/9500379f886484382bba2f893faf49865de9f2c0.patch";
|
|
hash = "sha256-nUn54ZBEvvFkIhzE/UBbsvF0rFC9JAeQACTAPtsc1VI=";
|
|
})
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [
|
|
SDL2
|
|
SDL2_image
|
|
SDL2_mixer
|
|
SDL2_ttf
|
|
];
|
|
|
|
meta = {
|
|
description = "Free/Libre Action Roleplaying Engine";
|
|
homepage = "https://github.com/flareteam/flare-engine";
|
|
maintainers = with lib.maintainers; [
|
|
aanderse
|
|
McSinyx
|
|
];
|
|
license = [ lib.licenses.gpl3Plus ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|