Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
976 B
Nix
49 lines
976 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
coin-utils,
|
|
coinmp,
|
|
glpk,
|
|
osi,
|
|
gfortran,
|
|
libtool,
|
|
pkg-config,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "symphony";
|
|
version = "5.7.3";
|
|
|
|
outputs = [ "out" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "coin-or";
|
|
repo = "SYMPHONY";
|
|
tag = "releases/${finalAttrs.version}";
|
|
hash = "sha256-f97LICRykxhiZiSsSBE9IJBLL/ApWV+utvlHuUhx1PI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gfortran
|
|
libtool
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
coin-utils
|
|
coinmp
|
|
glpk
|
|
osi
|
|
];
|
|
|
|
meta = {
|
|
description = "Open-source solver, callable library, and development framework for mixed-integer linear programs (MILPs)";
|
|
homepage = "https://www.coin-or.org/SYMPHONY/index.htm";
|
|
changelog = "https://github.com/coin-or/SYMPHONY/blob/${finalAttrs.version}/CHANGELOG.md";
|
|
platforms = lib.platforms.linux;
|
|
license = lib.licenses.epl20;
|
|
maintainers = with lib.maintainers; [ b-rodrigues ];
|
|
};
|
|
})
|