2014-07-01 08:04:36 +01:00
|
|
|
{stdenv, fetchurl, SDL2, SDL2_image, mesa, cmake, physfs, boost, zip, zlib
|
|
|
|
, pkgconfig}:
|
2012-04-17 14:06:12 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-07-01 08:04:36 +01:00
|
|
|
version = "1.0";
|
2012-04-17 14:06:12 +01:00
|
|
|
name = "blobby-volley-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-07-01 08:04:36 +01:00
|
|
|
url = "http://softlayer-ams.dl.sourceforge.net/project/blobby/Blobby%20Volley%202%20%28Linux%29/1.0/blobby2-linux-1.0.tar.gz";
|
|
|
|
sha256 = "1qpmbdlyhfbrdsq4vkb6cb3b8mh27fpizb71q4a21ala56g08yms";
|
2012-04-17 14:06:12 +01:00
|
|
|
};
|
|
|
|
|
2014-07-01 08:04:36 +01:00
|
|
|
buildInputs = [SDL2 SDL2_image mesa cmake physfs boost zip zlib pkgconfig];
|
2012-04-17 14:06:12 +01:00
|
|
|
|
2014-07-01 08:04:36 +01:00
|
|
|
preConfigure=''
|
|
|
|
sed -e '1i#include <iostream>' -i src/NetworkMessage.cpp
|
2012-04-17 14:06:12 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2013-10-05 15:22:46 +01:00
|
|
|
description = ''A blobby volleyball game'';
|
2012-04-17 14:56:38 +01:00
|
|
|
license = with stdenv.lib.licenses; bsd3;
|
2012-04-17 14:06:12 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [raskin];
|
2014-07-01 08:04:36 +01:00
|
|
|
homepage = "http://blobby.sourceforge.net/";
|
|
|
|
downloadPage = "http://sourceforge.net/projects/blobby/files/Blobby%20Volley%202%20%28Linux%29/";
|
|
|
|
inherit version;
|
2012-04-17 14:06:12 +01:00
|
|
|
};
|
|
|
|
}
|