nixpkgs-suyu/pkgs/development/libraries/cminpack/default.nix

26 lines
571 B
Nix
Raw Normal View History

{stdenv, fetchurl}:
stdenv.mkDerivation {
2013-12-18 14:00:59 +01:00
name = "cminpack-1.3.2";
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";
};
patchPhase = ''
sed -i s,/usr/local,$out, Makefile
'';
preInstall = ''
mkdir -p $out/lib $out/include
'';
meta = {
homepage = http://devernay.free.fr/hacks/cminpack/cminpack.html;
license = "BSD";
description = "Software for solving nonlinear equations and nonlinear least squares problems";
};
}