nixpkgs/pkgs/development/libraries/science/math/ipopt/default.nix
2014-11-12 03:43:35 +03:00

25 lines
699 B
Nix

{ stdenv, fetchurl, unzip, blas, liblapack, gfortran }:
stdenv.mkDerivation rec {
version = "3.11.9";
name = "ipopt-${version}";
src = fetchurl {
url = "http://www.coin-or.org/download/source/Ipopt/Ipopt-${version}.zip";
sha256 = "0sji4spl5dhw1s3f9y0ym09gi7d1c8wldn6wbiap4q8dq7cvklq5";
};
nativeBuildInputs = [ unzip ];
buildInputs = [ gfortran blas liblapack ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A software package for large-scale nonlinear optimization";
homepage = https://projects.coin-or.org/Ipopt;
license = licenses.epl10;
platforms = platforms.unix;
maintainers = with maintainers; [ abbradar ];
};
}