bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
24 lines
671 B
Nix
24 lines
671 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, logs, num }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ocplib-simplex";
|
|
version = "0.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OCamlPro-Iguernlala";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-sy5QUmghG28tXlwbKWx3PpBGTtzXarTSzd1WLSYyvbc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ logs num ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "OCaml library implementing a simplex algorithm, in a functional style, for solving systems of linear inequalities";
|
|
homepage = "https://github.com/OCamlPro-Iguernlala/ocplib-simplex";
|
|
license = lib.licenses.lgpl21Only;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
}
|