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