Files
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

73 lines
1.2 KiB
Nix

{
stdenv,
lib,
fetchgit,
cmake,
pkg-config,
perl,
vala,
gtk2,
pcre,
zlib,
libGL,
libGLU,
libpng,
fribidi,
harfbuzzFull,
xorg,
util-linux,
curl,
SDL2,
SDL2_image,
SDL2_mixer,
libselinux,
libsepol,
}:
stdenv.mkDerivation {
pname = "crossfire-client";
version = "2025-01";
src = fetchgit {
url = "https://git.code.sf.net/p/crossfire/crossfire-client";
hash = "sha256-iFm9yVEIBwngr8/0f9TRS4Uw0hnjrW6ngMRfsWY6TX0=";
rev = "c69f578add358c1db567f6b46f532dd038d2ade0";
};
nativeBuildInputs = [
cmake
pkg-config
perl
vala
];
buildInputs = [
gtk2
pcre
zlib
libGL
libGLU
libpng
fribidi
harfbuzzFull
xorg.libpthreadstubs
xorg.libXdmcp
curl
SDL2
SDL2_image
SDL2_mixer
util-linux
libselinux
libsepol
];
hardeningDisable = [ "format" ];
meta = with lib; {
description = "GTKv2 client for the Crossfire free MMORPG";
mainProgram = "crossfire-client-gtk2";
homepage = "http://crossfire.real-time.com/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ ToxicFrog ];
};
}