3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/math/cbc/default.nix

27 lines
661 B
Nix
Raw Normal View History

2015-08-12 17:38:16 +01:00
{ lib, stdenv, fetchurl, zlib, bzip2 }:
stdenv.mkDerivation {
name = "cbc-2.9.5";
src = fetchurl {
url = "http://www.coin-or.org/download/source/Cbc/Cbc-2.9.5.tgz";
sha256 = "0kmsg9qpajh5jhnql04m6akpdjzlppxfz99q320vw5bkzgl3i18w";
};
configureFlags = "-C";
enableParallelBuilding = true;
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 10:52:43 +01:00
platforms = lib.platforms.linux ++ lib.platforms.darwin;
2015-08-12 17:38:16 +01:00
description = "A mixed integer programming solver";
};
}