2023-10-09 19:29:22 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, logs, num }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
buildDunePackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "ocplib-simplex";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OCamlPro-Iguernlala";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-sy5QUmghG28tXlwbKWx3PpBGTtzXarTSzd1WLSYyvbc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
propagatedBuildInputs = [ logs num ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "OCaml library implementing a simplex algorithm, in a functional style, for solving systems of linear inequalities";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/OCamlPro-Iguernlala/ocplib-simplex";
|
2023-10-09 19:29:22 +00:00
|
|
|
license = lib.licenses.lgpl21Only;
|
2021-01-15 22:18:51 +00:00
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|