nixpkgs/pkgs/by-name/cg/cgl/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
664 B
Nix
Raw Normal View History

2023-11-10 08:23:20 +00:00
{ 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;
};
})