Files
nixpkgs/pkgs/games/xpilot/bloodspilot-client.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

48 lines
884 B
Nix

{
lib,
stdenv,
fetchurl,
libX11,
SDL,
libGLU,
libGL,
expat,
zlib,
SDL_ttf,
SDL_image,
}:
stdenv.mkDerivation rec {
version = "1.5.0";
pname = "bloodspilot-client";
src = fetchurl {
url = "mirror://sourceforge/project/bloodspilot/client-sdl/v${version}/bloodspilot-client-sdl-${version}.tar.gz";
sha256 = "1qwl95av5an2zl01m7saj6fyy49xpixga7gbn4lwbpgpqs1rbwxj";
};
patches = [ ./bloodspilot-sdl-window-fix.patch ];
buildInputs = [
libX11
SDL
SDL_ttf
SDL_image
libGLU
libGL
expat
zlib
];
NIX_LDFLAGS = "-lX11";
meta = {
description = "Multiplayer space combat game (client part)";
mainProgram = "bloodspilot-client-sdl";
homepage = "http://bloodspilot.sf.net/";
license = lib.licenses.gpl2Plus;
maintainers = [ lib.maintainers.raskin ];
platforms = lib.platforms.linux;
};
}