Files
nixpkgs/pkgs/by-name/fl/flare/game.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

42 lines
926 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
}:
stdenv.mkDerivation rec {
pname = "flare-game";
version = "1.14";
src = fetchFromGitHub {
owner = "flareteam";
repo = "flare-game";
tag = "v${version}";
hash = "sha256-tINIwxyQn8eeJCHwRmAMo2TYRgrgJlGaUrnrgbmM3Jo=";
};
patches = [
# cmake-4 compatibility patch
(fetchpatch {
name = "cmake-4.patch";
url = "https://github.com/flareteam/flare-game/commit/5b61dfd69f4ecbaca6439caa9ae41b3168e4d21a.patch";
hash = "sha256-5Um6LWAWQyialzO3KSebmLju0VOuz1S5dzavO9EWlLE=";
})
];
nativeBuildInputs = [ cmake ];
meta = {
description = "Fantasy action RPG using the FLARE engine";
homepage = "https://github.com/flareteam/flare-game";
maintainers = with lib.maintainers; [
aanderse
McSinyx
];
license = [ lib.licenses.cc-by-sa-30 ];
platforms = lib.platforms.unix;
};
}