Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 47 lines 884 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 libX11, 6 SDL, 7 libGLU, 8 libGL, 9 expat, 10 zlib, 11 SDL_ttf, 12 SDL_image, 13}: 14 15stdenv.mkDerivation rec { 16 version = "1.5.0"; 17 pname = "bloodspilot-client"; 18 19 src = fetchurl { 20 url = "mirror://sourceforge/project/bloodspilot/client-sdl/v${version}/bloodspilot-client-sdl-${version}.tar.gz"; 21 sha256 = "1qwl95av5an2zl01m7saj6fyy49xpixga7gbn4lwbpgpqs1rbwxj"; 22 }; 23 24 patches = [ ./bloodspilot-sdl-window-fix.patch ]; 25 26 buildInputs = [ 27 libX11 28 SDL 29 SDL_ttf 30 SDL_image 31 libGLU 32 libGL 33 expat 34 zlib 35 ]; 36 37 NIX_LDFLAGS = "-lX11"; 38 39 meta = { 40 description = "Multiplayer space combat game (client part)"; 41 mainProgram = "bloodspilot-client-sdl"; 42 homepage = "http://bloodspilot.sf.net/"; 43 license = lib.licenses.gpl2Plus; 44 maintainers = [ lib.maintainers.raskin ]; 45 platforms = lib.platforms.linux; 46 }; 47}