mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
f7f938a1d1
getAttr was ambiguous. It's also a builtin function fix svn path=/nixpkgs/trunk/; revision=15692
28 lines
574 B
Nix
28 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";
|
|
};
|
|
}
|