1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 12:59:25 +00:00
nixpkgs/pkgs/applications/science/math/cbc/default.nix

29 lines
697 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.9";
2015-08-12 17:38:16 +01:00
src = fetchurl {
url = "http://www.coin-or.org/download/source/Cbc/Cbc-2.9.9.tgz";
sha256 = "1w8axdzm05xf5y13c31w7rc5z6ywxqxiwafnxcq3p195kgj0915a";
2015-08-12 17:38:16 +01:00
};
configureFlags = "-C";
enableParallelBuilding = true;
hardeningDisable = [ "format" ];
2016-02-09 01:35:33 +00:00
2015-08-12 17:38:16 +01: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 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";
};
}