1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/development/libraries/cminpack/default.nix
Ryan Mulligan efea9f0fa9 cminpack: 1.3.4 -> 1.3.6
Semi-automatic update. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 1.3.6 in filename of file in /nix/store/ch2n83jgh0mv5h7992gm4lf9lmxp59lp-cminpack-1.3.6
2018-03-08 00:16:47 -08:00

27 lines
633 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "cminpack-1.3.6";
src = fetchurl {
url = "http://devernay.free.fr/hacks/cminpack/${name}.tar.gz";
sha256 = "17yh695aim508x1kn9zf6g13jxwk3pi3404h5ix4g5lc60hzs1rw";
};
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 = stdenv.lib.licenses.bsd3;
description = "Software for solving nonlinear equations and nonlinear least squares problems";
platforms = stdenv.lib.platforms.linux;
};
}