{ 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 after 2.10.0 description = "A mixed integer programming solver"; }; }