Adding bullet. Patch by Alexander Foremny.

svn path=/nixpkgs/trunk/; revision=32393
This commit is contained in:
Lluís Batlle i Rossell 2012-02-19 10:51:04 +00:00
parent 08f6682666
commit d77cfce6d3
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{stdenv, fetchurl, unzip, cmake}:
stdenv.mkDerivation {
name = "bullet-2.78";
src = fetchurl {
url = "http://bullet.googlecode.com/files/bullet-2.78.zip";
sha256 = "10l2dclvv0di9mi9qp6xfy9vybx182xp2dyygabacrpr3p75s77k";
};
buildInputs = [ unzip cmake ];
configurePhase = ''
cmake -DBUILD_SHARED_LIBS=ON -DBUILD_EXTRAS=OFF -DBUILD_DEMOS=OFF .
'';
meta = {
description = "A professional free 3D Game Multiphysics Library";
longDescription = ''
Bullet 3D Game Multiphysics Library provides state of the art collision
detection, soft body and rigid body dynamics.
'';
homepage = http://code.google.com/p/bullet/;
license = stdenv.lib.licenses.zlib;
maintainers = [ "Alexander Foremny <alexanderforemny@googlemail.com>" ];
};
}

View file

@ -8785,4 +8785,6 @@ let
misc = import ../misc/misc.nix { inherit pkgs stdenv; };
bullet = callPackage ../development/libraries/bullet {};
}; in pkgs