2008-11-30 16:50:05 +00:00
|
|
|
args :
|
|
|
|
let
|
|
|
|
lib = args.lib;
|
|
|
|
fetchurl = args.fetchurl;
|
|
|
|
|
2013-12-20 15:45:27 +00:00
|
|
|
version = lib.attrByPath ["version"] "0.12" args;
|
2008-11-30 16:50:05 +00:00
|
|
|
buildInputs = with args; [
|
|
|
|
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
2013-07-14 02:17:07 +01:00
|
|
|
url = "mirror://sourceforge/opende/ode-${version}.tar.bz2";
|
2013-12-20 15:45:27 +00:00
|
|
|
sha256 = "0l63ymlkgfp5cb0ggqwm386lxmc3al21nb7a07dd49f789d33ib5";
|
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";
|
|
|
|
};
|
|
|
|
}
|