Added Open Dynamics Engine
svn path=/nixpkgs/trunk/; revision=13520
This commit is contained in:
parent
e357cb4e65
commit
ed8215aca7
27
pkgs/development/libraries/ode/default.nix
Normal file
27
pkgs/development/libraries/ode/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
args :
|
||||
let
|
||||
lib = args.lib;
|
||||
fetchurl = args.fetchurl;
|
||||
|
||||
version = lib.getAttr ["version"] "0.10.1" args;
|
||||
buildInputs = with args; [
|
||||
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "http://downloads.sourceforge.net/opende/ode-${version}.tar.bz2";
|
||||
sha256 = "0bm7kmm7qvrbk40pgaszqr66pjfvnln8vjzdmcdl2h1dxi3b4dln";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||
|
||||
name = "ode-" + version;
|
||||
meta = {
|
||||
description = "Open Dynamics Engine";
|
||||
};
|
||||
}
|
@ -3523,6 +3523,9 @@ let
|
||||
inherit fetchurl stdenv perl zip;
|
||||
};
|
||||
|
||||
ode = builderDefsPackage (import ../development/libraries/ode) {
|
||||
};
|
||||
|
||||
openal = import ../development/libraries/openal {
|
||||
inherit fetchurl stdenv cmake alsaLib;
|
||||
};
|
||||
@ -6654,6 +6657,12 @@ let
|
||||
inherit libtool gettext e2fsprogs;
|
||||
};
|
||||
|
||||
xmoto = builderDefsPackage (import ../games/xmoto) {
|
||||
inherit chipmunk sqlite curl zlib bzip2 libjpeg libpng
|
||||
freeglut mesa SDL SDL_mixer SDL_image SDL_net SDL_ttf
|
||||
lua5 ode;
|
||||
};
|
||||
|
||||
xorg_sys_opengl = import ../os-specific/linux/opengl/xorg-sys {
|
||||
inherit stdenv xlibs expat libdrm;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user