nixpkgs/pkgs/games/xpilot/bloodspilot-client.nix

26 lines
737 B
Nix
Raw Normal View History

2021-01-15 05:31:39 +01:00
{ lib, stdenv, fetchurl, libX11, SDL, libGLU, libGL, expat, zlib, SDL_ttf, SDL_image }:
2016-08-22 06:43:22 +02:00
stdenv.mkDerivation rec {
version = "1.5.0";
pname = "bloodspilot-client";
2016-08-22 06:43:22 +02:00
src = fetchurl {
url = "mirror://sourceforge/project/bloodspilot/client-sdl/v${version}/bloodspilot-client-sdl-${version}.tar.gz";
sha256 = "1qwl95av5an2zl01m7saj6fyy49xpixga7gbn4lwbpgpqs1rbwxj";
};
2016-08-22 06:43:22 +02:00
buildInputs = [
2019-11-10 17:44:34 +01:00
libX11 SDL SDL_ttf SDL_image libGLU libGL expat zlib
2016-08-22 06:43:22 +02:00
];
2019-10-30 02:29:30 +01:00
NIX_LDFLAGS = "-lX11";
2016-08-22 06:43:22 +02:00
meta = {
description = "A multiplayer space combat game (client part)";
homepage = "http://bloodspilot.sf.net/";
2021-01-15 05:31:39 +01:00
license = lib.licenses.gpl2Plus ;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.linux;
};
}