mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
37 lines
938 B
Nix
37 lines
938 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, 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}";
|
|
hash = "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 ];
|
|
};
|
|
}
|