2008-11-30 16:50:05 +00:00
|
|
|
args :
|
|
|
|
let
|
|
|
|
lib = args.lib;
|
|
|
|
fetchurl = args.fetchurl;
|
|
|
|
|
2009-05-24 10:57:41 +00:00
|
|
|
version = lib.attrByPath ["version"] "0.10.1" args;
|
2008-11-30 16:50:05 +00:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|