mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +03:00
c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
26 lines
571 B
Nix
26 lines
571 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "cminpack-1.1.2";
|
|
|
|
src = fetchurl {
|
|
url = http://devernay.free.fr/hacks/cminpack/cminpack-1.1.2.tar.gz;
|
|
sha256 = "0sd8gqk7npyiiiz2jym8q89d9gqx8fig0mnx63swkwmp4lqmmxww";
|
|
};
|
|
|
|
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";
|
|
};
|
|
|
|
}
|