2008-11-30 16:50:05 +00:00
|
|
|
args :
|
|
|
|
let
|
|
|
|
lib = args.lib;
|
|
|
|
fetchurl = args.fetchurl;
|
|
|
|
|
2011-03-02 17:18:24 +00:00
|
|
|
version = lib.attrByPath ["version"] "0.11.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";
|
2011-03-02 17:18:24 +00:00
|
|
|
sha256 = "1883gbsnn7zldrpwfdh6kwj20g627n5bspz3yb2z6lrxdal88y47";
|
2008-11-30 16:50:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be specified separately */
|
|
|
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
|
|
|
|
|
|
name = "ode-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Open Dynamics Engine";
|
|
|
|
};
|
|
|
|
}
|