2015-08-12 18:38:16 +02:00
|
|
|
{ lib, stdenv, fetchurl, zlib, bzip2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2018-02-25 23:03:37 +01:00
|
|
|
name = "cbc-2.9.9";
|
2015-08-12 18:38:16 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://www.coin-or.org/download/source/Cbc/Cbc-2.9.9.tgz";
|
2018-02-25 23:03:37 +01:00
|
|
|
sha256 = "1w8axdzm05xf5y13c31w7rc5z6ywxqxiwafnxcq3p195kgj0915a";
|
2015-08-12 18:38:16 +02:00
|
|
|
};
|
|
|
|
|
2018-07-25 23:44:21 +02:00
|
|
|
configureFlags = [ "-C" ];
|
2015-08-12 18:38:16 +02:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-09 02:35:33 +01:00
|
|
|
|
2015-08-12 18:38:16 +02:00
|
|
|
buildInputs = [ zlib bzip2 ];
|
|
|
|
|
|
|
|
# FIXME: move share/coin/Data to a separate output?
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://projects.coin-or.org/Cbc;
|
|
|
|
license = lib.licenses.epl10;
|
|
|
|
maintainers = [ lib.maintainers.eelco ];
|
2015-08-19 11:52:43 +02:00
|
|
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
2015-08-12 18:38:16 +02:00
|
|
|
description = "A mixed integer programming solver";
|
|
|
|
};
|
|
|
|
}
|