diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-02-19 10:51:04 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-02-19 10:51:04 +0000 |
commit | d77cfce6d37eb55789923613df7be87faa9652a7 (patch) | |
tree | 8cb06914eedb03278caaf2f1d140560680ddbefc /pkgs/development/libraries/bullet | |
parent | 08f6682666ee5b07b01e8b0354cf936da3d0c6bf (diff) | |
download | nixlib-d77cfce6d37eb55789923613df7be87faa9652a7.tar nixlib-d77cfce6d37eb55789923613df7be87faa9652a7.tar.gz nixlib-d77cfce6d37eb55789923613df7be87faa9652a7.tar.bz2 nixlib-d77cfce6d37eb55789923613df7be87faa9652a7.tar.lz nixlib-d77cfce6d37eb55789923613df7be87faa9652a7.tar.xz nixlib-d77cfce6d37eb55789923613df7be87faa9652a7.tar.zst nixlib-d77cfce6d37eb55789923613df7be87faa9652a7.zip |
Adding bullet. Patch by Alexander Foremny.
svn path=/nixpkgs/trunk/; revision=32393
Diffstat (limited to 'pkgs/development/libraries/bullet')
-rw-r--r-- | pkgs/development/libraries/bullet/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/libraries/bullet/default.nix b/pkgs/development/libraries/bullet/default.nix new file mode 100644 index 000000000000..b725f6bbf9fe --- /dev/null +++ b/pkgs/development/libraries/bullet/default.nix @@ -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>" ]; + }; +} |