mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
762 B
Nix
26 lines
762 B
Nix
{ stdenv, fetchurl, libX11, SDL, libGLU_combined, 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";
|
|
};
|
|
|
|
buildInputs = [
|
|
libX11 SDL SDL_ttf SDL_image libGLU_combined expat zlib
|
|
];
|
|
|
|
NIX_LDFLAGS = [ "-lX11" ];
|
|
|
|
meta = {
|
|
description = ''A multiplayer space combat game (client part)'';
|
|
homepage = http://bloodspilot.sf.net/;
|
|
license = stdenv.lib.licenses.gpl2Plus ;
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|