3
0
Fork 0
forked from mirrors/nixpkgs

ode: reimplement using mkDerivation

This commit is contained in:
Joachim Fasting 2015-06-16 20:51:57 +02:00
parent 502d21a835
commit a1e397c4fb
2 changed files with 6 additions and 18 deletions

View file

@ -1,26 +1,14 @@
args :
let
lib = args.lib;
fetchurl = args.fetchurl;
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "ode-${version}";
version = "0.12";
version = lib.attrByPath ["version"] "0.12" args;
buildInputs = with args; [
];
in
rec {
src = fetchurl {
url = "mirror://sourceforge/opende/ode-${version}.tar.bz2";
sha256 = "0l63ymlkgfp5cb0ggqwm386lxmc3al21nb7a07dd49f789d33ib5";
};
inherit buildInputs;
configureFlags = [];
/* doConfigure should be specified separately */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "ode-" + version;
meta = {
description = "Open Dynamics Engine";
};

View file

@ -7881,7 +7881,7 @@ let
nvidia-texture-tools = callPackage ../development/libraries/nvidia-texture-tools { };
ode = builderDefsPackage (callPackage ../development/libraries/ode) { };
ode = callPackage ../development/libraries/ode { };
ogre = callPackage ../development/libraries/ogre {};