1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/games/blobby/default.nix
Tobias Geerinckx-Rice 158e1cfdd0 Don't use "with licenses;" for single licences
And don't use square brackets on such lines.
2015-05-28 19:20:29 +02:00

28 lines
947 B
Nix

{stdenv, fetchurl, SDL2, SDL2_image, mesa, cmake, physfs, boost, zip, zlib
, pkgconfig}:
stdenv.mkDerivation rec {
version = "1.0";
name = "blobby-volley-${version}";
src = fetchurl {
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";
};
buildInputs = [SDL2 SDL2_image mesa cmake physfs boost zip zlib pkgconfig];
preConfigure=''
sed -e '1i#include <iostream>' -i src/NetworkMessage.cpp
'';
meta = {
description = ''A blobby volleyball game'';
license = stdenv.lib.licenses.bsd3;
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [raskin];
homepage = "http://blobby.sourceforge.net/";
downloadPage = "http://sourceforge.net/projects/blobby/files/Blobby%20Volley%202%20%28Linux%29/";
inherit version;
};
}