2011-03-08 10:19:32 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2014-11-13 14:33:15 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-08 09:16:47 +01:00
|
|
|
name = "cminpack-1.3.6";
|
2011-03-08 10:19:32 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-11-13 14:33:15 +01:00
|
|
|
url = "http://devernay.free.fr/hacks/cminpack/${name}.tar.gz";
|
2018-03-08 09:16:47 +01:00
|
|
|
sha256 = "17yh695aim508x1kn9zf6g13jxwk3pi3404h5ix4g5lc60hzs1rw";
|
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;
|
2014-11-13 14:33:15 +01:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2011-03-08 10:19:32 +01:00
|
|
|
description = "Software for solving nonlinear equations and nonlinear least squares problems";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-03-08 10:19:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|