2023-04-12 12:48:02 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, coin-utils, zlib, osi }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "1.17.9";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "clp";
|
2023-04-12 12:48:02 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "coin-or";
|
|
|
|
repo = "Clp";
|
|
|
|
rev = "releases/${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-kHCDji+yIf5mCoxKB2b/HaATGmwwIAPEV74tthIMeMY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zlib coin-utils osi ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2023-04-12 12:48:02 +00:00
|
|
|
license = licenses.epl20;
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/coin-or/Clp";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Open-source linear programming solver written in C++";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "clp";
|
2024-01-02 11:29:13 +00:00
|
|
|
platforms = platforms.darwin ++ platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|