2011-03-08 09:19:32 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-12-18 13:00:59 +00:00
|
|
|
name = "cminpack-1.3.2";
|
2011-03-08 09:19:32 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-12-18 13:00:59 +00:00
|
|
|
url = http://devernay.free.fr/hacks/cminpack/cminpack-1.3.2.tar.gz;
|
|
|
|
sha256 = "09bqr44wqancbdsc39lvhdz7rci3hknmlrrrzv46skvwx6rgk9x0";
|
2011-03-08 09:19:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i s,/usr/local,$out, Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/lib $out/include
|
2011-03-08 09:19:32 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2011-03-08 09:19:41 +00:00
|
|
|
homepage = http://devernay.free.fr/hacks/cminpack/cminpack.html;
|
2011-03-08 09:19:32 +00:00
|
|
|
license = "BSD";
|
|
|
|
description = "Software for solving nonlinear equations and nonlinear least squares problems";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|