You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 796B

123456789101112131415161718192021222324252627282930
  1. { lib, stdenv, fetchurl, zlib, bzip2 }:
  2. stdenv.mkDerivation rec {
  3. pname = "cbc";
  4. version = "2.10.3";
  5. src = fetchurl {
  6. url = "https://www.coin-or.org/download/source/Cbc/Cbc-${version}.tgz";
  7. sha256 = "1zzcg40ky5v96s7br2hqlkqdspwrn43kf3757g6c35wl29bq6f5d";
  8. };
  9. configureFlags = [ "-C" ];
  10. enableParallelBuilding = true;
  11. hardeningDisable = [ "format" ];
  12. buildInputs = [ zlib bzip2 ];
  13. # FIXME: move share/coin/Data to a separate output?
  14. meta = {
  15. homepage = https://projects.coin-or.org/Cbc;
  16. license = lib.licenses.epl10;
  17. maintainers = [ lib.maintainers.eelco ];
  18. platforms = lib.platforms.linux ++ lib.platforms.darwin;
  19. broken = stdenv.isAarch64; # Missing <immintrin.h> after 2.10.0
  20. description = "A mixed integer programming solver";
  21. };
  22. }