diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2016-05-08 16:21:46 +0200 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2016-05-08 16:22:18 +0200 |
commit | f0c503593fd9d968407a94e26f9ef24279bf8012 (patch) | |
tree | a6fb6970cc93fd6925f676b57c016c1dee7f6f9a /pkgs/development/libraries/bullet | |
parent | 516f331227d7879c157190f888ad644d8665172d (diff) |
Fixing stunt-rally 2.6 (adding newer bullet)
Diffstat (limited to 'pkgs/development/libraries/bullet')
-rw-r--r-- | pkgs/development/libraries/bullet/bullet283.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/bullet/bullet283.nix b/pkgs/development/libraries/bullet/bullet283.nix new file mode 100644 index 0000000000000..ea792b98a3284 --- /dev/null +++ b/pkgs/development/libraries/bullet/bullet283.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl, cmake, mesa, freeglut }: + +stdenv.mkDerivation rec { + name = "bullet-2.83.7"; # vdrift 2012-07-22 doesn't build with 2.81 + src = fetchurl { + url = "https://github.com/bulletphysics/bullet3/archive/2.83.7.tar.gz"; + sha256 = "0hqjnmlb2p29yiasrm7kvgv0nklz5zkwhfk4f78zz1gf0vrdil80"; + }; + + buildInputs = [ cmake mesa freeglut ]; + configurePhase = '' + cmake -DBUILD_SHARED_LIBS=ON -DINSTALL_EXTRA_LIBS=TRUE \ + -DCMAKE_INSTALL_PREFIX=$out . + ''; + + enableParallelBuilding = true; + + 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 = https://github.com/bulletphysics/bullet3; + license = stdenv.lib.licenses.zlib; + maintainers = with stdenv.lib.maintainers; [ aforemny ]; + }; +} |