1 { lib, stdenv, fetchurl, SDL2, SDL2_image, libGLU, libGL, cmake, physfs, boost, zip, zlib, unzip, pkg-config }:
3 stdenv.mkDerivation rec {
4 pname = "blobby-volley";
8 url = "mirror://sourceforge/blobby/Blobby%20Volley%202%20%28Linux%29/1.1.1/blobby2-linux-1.1.1.tar.gz";
9 sha256 = "sha256-NX7lE+adO1D2f8Bj1Ky3lZpf6Il3gX8KqxTMxw2yFLo=";
12 nativeBuildInputs = [ cmake pkg-config zip ];
13 buildInputs = [ SDL2 SDL2_image libGLU libGL physfs boost zlib ];
16 sed -e '1i#include <iostream>' -i src/NetworkMessage.cpp
22 cp ../data/Icon.bmp "$out/share/blobby/"
23 mv "$out/bin"/blobby{,.bin}
24 substituteAll "${./blobby.sh}" "$out/bin/blobby"
25 chmod a+x "$out/bin/blobby"
29 description = "Blobby volleyball game";
30 license = licenses.bsd3;
31 platforms = platforms.linux;
32 maintainers = with maintainers; [ raskin ];
33 homepage = "https://blobbyvolley.de/";
34 downloadPage = "https://sourceforge.net/projects/blobby/files/Blobby%20Volley%202%20%28Linux%29/";
35 mainProgram = "blobby";