nixpkgs/pkgs/applications/science/math/clp/default.nix

23 lines
617 B
Nix
Raw Normal View History

2017-08-26 00:01:30 -07:00
{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
2019-04-13 15:04:06 -07:00
version = "1.17.1";
2018-07-16 09:25:31 -07:00
name = "clp-${version}";
src = fetchurl {
url = "https://www.coin-or.org/download/source/Clp/Clp-${version}.tgz";
2019-04-13 15:04:06 -07:00
sha256 = "1wdg820g3iikf9344ijwsc8sy6c0m6im42bzzizm6rlmkvnmxhk9";
2018-07-16 09:25:31 -07:00
};
2017-08-26 00:01:30 -07:00
2018-07-16 09:25:31 -07:00
propagatedBuildInputs = [ zlib ];
2017-08-26 00:01:30 -07:00
2018-07-16 09:25:31 -07:00
doCheck = true;
2017-08-26 00:01:30 -07:00
2019-04-13 15:17:25 -07:00
meta = with stdenv.lib; {
license = licenses.epl10;
2018-07-16 09:25:31 -07:00
homepage = https://projects.coin-or.org/Clp;
description = "An open-source linear programming solver written in C++";
2019-04-13 15:17:25 -07:00
platforms = platforms.darwin ++ [ "x86_64-linux" ];
maintainers = [ maintainers.vbgl ];
2018-07-16 09:25:31 -07:00
};
2017-08-26 00:01:30 -07:00
}