Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 39 lines 673 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 pkg-config, 6 clp, 7 coin-utils, 8 osi, 9}: 10 11stdenv.mkDerivation (finalAttrs: { 12 pname = "cgl"; 13 version = "0.60.9"; 14 15 src = fetchFromGitHub { 16 owner = "coin-or"; 17 repo = "Cgl"; 18 rev = "releases/${finalAttrs.version}"; 19 hash = "sha256-E84yCrgpRMjt7owPLPk1ATW+aeHNw8V24DHgkb6boIE="; 20 }; 21 22 nativeBuildInputs = [ 23 pkg-config 24 ]; 25 26 buildInputs = [ 27 clp 28 coin-utils 29 osi 30 ]; 31 32 meta = with lib; { 33 description = "Cut Generator Library"; 34 homepage = "https://github.com/coin-or/Cgl"; 35 license = licenses.epl20; 36 maintainers = with maintainers; [ wegank ]; 37 platforms = platforms.unix; 38 }; 39})