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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
781 B
Nix
Raw Normal View History

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