Adding cminpack

svn path=/nixpkgs/trunk/; revision=26204
This commit is contained in:
Lluís Batlle i Rossell 2011-03-08 09:19:32 +00:00
parent d10651a8b7
commit d95300f90f
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "cminpack-1.1.1";
src = fetchurl {
url = http://pr.willowgarage.com/downloads/cminpack-1.1.1.tar.gz;
sha256 = "0bi86c9712i68nyv8d52f7wgyb35kik14iwj4rpxcnz91m7wgacp";
};
patchPhase = ''
sed -i s,/usr/local,$out, Makefile
'';
preInstall = ''
ensureDir $out/lib $out/include
'';
meta = {
homepage = http://www.ros.org/wiki/cminpack;
license = "BSD";
description = "Software for solving nonlinear equations and nonlinear least squares problems";
};
}

View File

@ -2881,6 +2881,8 @@ let
inherit (gnome) gtk;
};
cminpack = callPackage ../development/libraries/cminpack { };
coin3d = callPackage ../development/libraries/coin3d { };
commoncpp2 = callPackage ../development/libraries/commoncpp2 { };