mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
48 lines
923 B
Nix
48 lines
923 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
libx11,
|
|
SDL,
|
|
libGLU,
|
|
libGL,
|
|
expat,
|
|
zlib,
|
|
SDL_ttf,
|
|
SDL_image,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
version = "1.5.0";
|
|
pname = "bloodspilot-client";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/bloodspilot/client-sdl/v${finalAttrs.version}/bloodspilot-client-sdl-${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-svOVg8b33cUpsesd9Xq8PRHvnZFKnxoA/cKqslVJlOM=";
|
|
};
|
|
|
|
patches = [ ./bloodspilot-sdl-window-fix.patch ];
|
|
|
|
buildInputs = [
|
|
libx11
|
|
SDL
|
|
SDL_ttf
|
|
SDL_image
|
|
libGLU
|
|
libGL
|
|
expat
|
|
zlib
|
|
];
|
|
|
|
env.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 = with lib.maintainers; [ raskin ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|