From d92a11f5509be937ef8ca4cb5551f7878cc838ce Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Fri, 10 Nov 2023 09:23:20 +0100 Subject: [PATCH] cgl: init at 0.60.8 --- pkgs/by-name/cg/cgl/package.nix | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pkgs/by-name/cg/cgl/package.nix diff --git a/pkgs/by-name/cg/cgl/package.nix b/pkgs/by-name/cg/cgl/package.nix new file mode 100644 index 000000000000..e21029637181 --- /dev/null +++ b/pkgs/by-name/cg/cgl/package.nix @@ -0,0 +1,38 @@ +{ 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; + }; +})