nixpkgs/pkgs/development/libraries/cminpack/default.nix
Lluís Batlle i Rossell d95300f90f Adding cminpack
svn path=/nixpkgs/trunk/; revision=26204
2011-03-08 09:19:32 +00:00

26 lines
550 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "cminpack-1.1.1";
src = fetchurl {
url = http://pr.willowgarage.com/downloads/cminpack-1.1.1.tar.gz;
sha256 = "0bi86c9712i68nyv8d52f7wgyb35kik14iwj4rpxcnz91m7wgacp";
};
patchPhase = ''
sed -i s,/usr/local,$out, Makefile
'';
preInstall = ''
ensureDir $out/lib $out/include
'';
meta = {
homepage = http://www.ros.org/wiki/cminpack;
license = "BSD";
description = "Software for solving nonlinear equations and nonlinear least squares problems";
};
}