2022-01-19 23:45:15 +00:00
|
|
|
{ lib, buildDunePackage
|
|
|
|
, fmt, logs, mtime, optint, terminal, vector
|
|
|
|
, alcotest, astring
|
2021-02-05 17:12:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "progress";
|
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2021-02-05 17:12:51 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
inherit (terminal) version src;
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
propagatedBuildInputs = [ fmt logs mtime optint terminal vector ];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ alcotest astring ];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Progress bar library for OCaml";
|
|
|
|
homepage = "https://github.com/CraigFe/progress";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|