Merge pull request #305301 from b-rodrigues/add_symphony

symphony: init at 5.7.2 and rPackages.Rsymphony
This commit is contained in:
Justin Bedő 2024-05-03 17:12:35 +10:00 committed by GitHub
commit ff1b721763
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 39 additions and 1 deletions

View File

@ -0,0 +1,37 @@
{ 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 ];
};
}

View File

@ -534,6 +534,7 @@ let
Rbwa = [ pkgs.zlib.dev ];
trackViewer = [ pkgs.zlib.dev ];
themetagenomics = [ pkgs.zlib.dev ];
Rsymphony = [ pkgs.pkg-config ];
NanoMethViz = [ pkgs.zlib.dev ];
RcppMeCab = [ pkgs.pkg-config ];
HilbertVisGUI = with pkgs; [ pkg-config which ];
@ -620,7 +621,7 @@ let
mashr = [ pkgs.gsl ];
hadron = [ pkgs.gsl ];
AMOUNTAIN = [ pkgs.gsl ];
Rsymphony = with pkgs; [ pkg-config doxygen graphviz subversion ];
Rsymphony = with pkgs; [ symphony doxygen graphviz subversion cgl clp];
tcltk2 = with pkgs; [ tcl tk ];
rswipl = with pkgs; [ ncurses.dev libxcrypt zlib.dev ];
tikzDevice = with pkgs; [ which texliveMedium ];