diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2012-04-17 13:06:12 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2012-04-17 13:06:12 +0000 |
commit | f699257450b3d9d63dd96a6fb073ea3334e58cf4 (patch) | |
tree | db72ff80eb0bfa9eff441b25cf55836c90b8e538 /pkgs/games/blobby | |
parent | de5fdd541a9057b74bd9c754e1ab55091d210aef (diff) |
Adding blobby volleybal
svn path=/nixpkgs/trunk/; revision=33810
Diffstat (limited to 'pkgs/games/blobby')
-rw-r--r-- | pkgs/games/blobby/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/games/blobby/default.nix b/pkgs/games/blobby/default.nix new file mode 100644 index 000000000000..0ce5c55a785b --- /dev/null +++ b/pkgs/games/blobby/default.nix @@ -0,0 +1,23 @@ +{stdenv, fetchurl, SDL, SDL_image, mesa, cmake, physfs, boost, zip, zlib}: +stdenv.mkDerivation rec { + version = "2.0-RC1"; + name = "blobby-volley-${version}"; + + src = fetchurl { + url = "mirror://sourceforge/project/blobby/Blobby%20Volley%202%20%28Linux%29/1.0RC1/blobby2-linux-1.0rc1.tar.gz"; + sha256 = "1cb56bd31vqkc12cmzp43q2aai99505isq2mii95jp0rzdqks4fy"; + }; + + buildInputs = [SDL SDL_image mesa cmake physfs boost zip zlib]; + + preConfigure = '' + sed -re '1i#include <cassert>' -i src/CrossCorrelation.h + ''; + + meta = { + description = ''A blobby volleyball game.''; + license = with stdev.lib.licenses; bsd3; + platforms = with stdenv.lib.platforms; linux; + maintainers = with stdenv.lib.maintainers; [raskin]; + }; +} |