nixpkgs/pkgs/development/libraries/science/math/ipopt/default.nix
R. RyanTM cc9fc2bdcd ipopt: 3.12.9 -> 3.12.10 (#41555)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/ipopt/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 3.12.10 with grep in /nix/store/6748l35g9dz7z77wqwal99ylrhn87liv-ipopt-3.12.10
- directory tree listing: https://gist.github.com/5da4bb4853af0913caca26e8cbc87666
- du listing: https://gist.github.com/c4d8373c7d9a61f39479151fdffa99cb
2018-06-09 23:33:17 +02:00

33 lines
847 B
Nix

{ stdenv, fetchurl, unzip, openblas, gfortran }:
stdenv.mkDerivation rec {
name = "ipopt-${version}";
version = "3.12.10";
src = fetchurl {
url = "http://www.coin-or.org/download/source/Ipopt/Ipopt-${version}.zip";
sha256 = "004pd90knnnzcx727knb7ffkabb1ggbskb8s607bfvfgdd7wlli9";
};
CXXDEFS = [ "-DHAVE_RAND" "-DHAVE_CSTRING" "-DHAVE_CSTDIO" ];
configureFlags = [
"--with-blas-lib=-lopenblas"
"--with-lapack-lib=-lopenblas"
];
nativeBuildInputs = [ unzip ];
buildInputs = [ gfortran openblas ];
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 ];
};
}