about summary refs log tree commit diff
path: root/pkgs/by-name/cg/cgl/package.nix
blob: e21029637181d0f803a92703abfa93cbaa94e0d5 (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
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;
  };
})