1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 17:41:12 +00:00
nixpkgs/pkgs/development/libraries/cminpack/default.nix
2013-12-18 18:18:22 +02:00

26 lines
571 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "cminpack-1.3.2";
src = fetchurl {
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";
};
}