about summary refs log tree commit diff
path: root/pkgs/by-name/sy/symphony/package.nix
blob: 51d3316c7d17bb86fac0cd63ac23d4593a1bd909 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 ];
  };
}