nixpkgs/pkgs/development/libraries/ode/default.nix
Marc Weber f7f938a1d1 big breaking change: renaming lib.getAttr to lib.attrByPath
getAttr was ambiguous. It's also a builtin function

fix

svn path=/nixpkgs/trunk/; revision=15692
2009-05-24 10:57:41 +00:00

27 lines
574 B
Nix

args :
let
lib = args.lib;
fetchurl = args.fetchurl;
version = lib.attrByPath ["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";
};
}