Unverified Commit aa442d1a authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #266624 from wegank/cgl-init

cgl: init at 0.60.8
parents d79be732 d92a11f5
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, clp
, coin-utils
, osi
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "cgl";
  version = "0.60.8";

  src = fetchFromGitHub {
    owner = "coin-or";
    repo = "Cgl";
    rev = "releases/${finalAttrs.version}";
    hash = "sha256-nyqrHC6UOKp1wn6Yvk+53oBn60wUqSWEPUrcNTuPN04=";
  };

  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;
  };
})