2024-04-20 20:35:04 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, coin-utils
|
2024-06-12 06:48:59 +01:00
|
|
|
, coinmp
|
2024-04-20 20:35:04 +01:00
|
|
|
, gfortran
|
|
|
|
, libtool
|
|
|
|
, glpk
|
|
|
|
, osi
|
|
|
|
, pkg-config
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "symphony";
|
|
|
|
version = "5.7.2";
|
|
|
|
|
|
|
|
outputs = [ "out" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "coin-or";
|
|
|
|
repo = "SYMPHONY";
|
|
|
|
rev = "releases/${version}";
|
2024-09-14 22:47:11 +01:00
|
|
|
hash = "sha256-OdTUMG3iVhjhw5uKtUnsLCZ4DfMjYHm8+/ozfmw7J6c=";
|
2024-04-20 20:35:04 +01:00
|
|
|
};
|
|
|
|
|
2024-06-12 06:48:59 +01:00
|
|
|
nativeBuildInputs = [ libtool pkg-config glpk gfortran coinmp osi coin-utils ];
|
2024-04-20 20:35:04 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "SYMPHONY is an open-source solver, callable library, and development framework for mixed-integer linear programs (MILPs) written in C with a number of unique features";
|
|
|
|
homepage = "https://www.coin-or.org/SYMPHONY/index.htm";
|
|
|
|
changelog = "https://github.com/coin-or/SYMPHONY/blob/${version}/CHANGELOG.md";
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
license = lib.licenses.epl20;
|
|
|
|
maintainers = with lib.maintainers; [ b-rodrigues ];
|
|
|
|
};
|
|
|
|
}
|