depot/third_party/nixpkgs/pkgs/by-name/sy/symphony/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

37 lines
948 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, coin-utils
, CoinMP
, 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}";
sha256 = "sha256-OdTUMG3iVhjhw5uKtUnsLCZ4DfMjYHm8+/ozfmw7J6c=";
};
nativeBuildInputs = [ libtool pkg-config glpk gfortran CoinMP osi coin-utils ];
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 ];
};
}