Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
38 lines
664 B
Nix
38 lines
664 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, clp
|
|
, coin-utils
|
|
, osi
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "cgl";
|
|
version = "0.60.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "coin-or";
|
|
repo = "Cgl";
|
|
rev = "releases/${finalAttrs.version}";
|
|
hash = "sha256-E84yCrgpRMjt7owPLPk1ATW+aeHNw8V24DHgkb6boIE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
clp
|
|
coin-utils
|
|
osi
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Cut Generator Library";
|
|
homepage = "https://github.com/coin-or/Cgl";
|
|
license = licenses.epl20;
|
|
maintainers = with maintainers; [ wegank ];
|
|
platforms = platforms.unix;
|
|
};
|
|
})
|