2023-04-01 15:41:38 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, coin-utils, zlib, osi }:
|
2017-08-26 07:01:30 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2024-10-13 10:34:03 +00:00
|
|
|
version = "1.17.10";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "clp";
|
2023-04-01 15:41:38 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "coin-or";
|
|
|
|
repo = "Clp";
|
|
|
|
rev = "releases/${version}";
|
2024-10-13 10:34:03 +00:00
|
|
|
hash = "sha256-9IlBT6o1aHAaYw2/39XrUis72P9fesmG3B6i/e+v3mM=";
|
2018-07-16 16:25:31 +00:00
|
|
|
};
|
2017-08-26 07:01:30 +00:00
|
|
|
|
2023-04-01 15:41:38 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zlib coin-utils osi ];
|
2017-08-26 07:01:30 +00:00
|
|
|
|
2018-07-16 16:25:31 +00:00
|
|
|
doCheck = true;
|
2017-08-26 07:01:30 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2023-04-03 10:57:50 +00:00
|
|
|
license = licenses.epl20;
|
2019-06-01 16:08:20 +00:00
|
|
|
homepage = "https://github.com/coin-or/Clp";
|
2018-07-16 16:25:31 +00:00
|
|
|
description = "Open-source linear programming solver written in C++";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "clp";
|
2023-12-05 11:51:31 +00:00
|
|
|
platforms = platforms.darwin ++ platforms.linux;
|
2019-04-13 22:17:25 +00:00
|
|
|
maintainers = [ maintainers.vbgl ];
|
2018-07-16 16:25:31 +00:00
|
|
|
};
|
2017-08-26 07:01:30 +00:00
|
|
|
}
|