depot/third_party/nixpkgs/pkgs/development/libraries/CoinMP/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

26 lines
655 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "CoinMP";
version = "1.8.4";
src = fetchurl {
url = "https://www.coin-or.org/download/source/CoinMP/${pname}-${version}.tgz";
sha256 = "13d3j1sdcjzpijp4qks3n0zibk649ac3hhv88hkk8ffxrc6gnn9l";
};
enableParallelBuilding = true;
env = lib.optionalAttrs stdenv.cc.isClang {
CXXFLAGS = "-std=c++14";
};
hardeningDisable = [ "format" ];
meta = with lib; {
homepage = "https://projects.coin-or.org/CoinMP/";
description = "COIN-OR lightweight API for COIN-OR libraries CLP, CBC, and CGL";
platforms = platforms.unix;
license = licenses.epl10;
};
}