af6a39460a
* cbc: 2.9.9 -> 2.10.0 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/cbc/versions * cbc: 2.10.0 -> 2.10.2 + mark as broken on aarch64 (fails to build)
30 lines
796 B
Nix
30 lines
796 B
Nix
{ lib, stdenv, fetchurl, zlib, bzip2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cbc";
|
|
version = "2.10.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.coin-or.org/download/source/Cbc/Cbc-${version}.tgz";
|
|
sha256 = "0frbxkh6nbh46kaxsx5bmzridgip3v7aq75l8yak5npiiq4jlwv3";
|
|
};
|
|
|
|
configureFlags = [ "-C" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
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 ];
|
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
|
broken = stdenv.isAarch64; # Missing <immintrin.h> after 2.10.0
|
|
description = "A mixed integer programming solver";
|
|
};
|
|
}
|