ocamlPackages.progress: init at 0.1.1

This commit is contained in:
sternenseemann 2021-01-18 14:28:46 +01:00 committed by Vincent Laporte
parent 6684094e64
commit fdc9d99179
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, buildDunePackage, fetchurl
, mtime, terminal_size, alcotest, astring, fmt
}:
buildDunePackage rec {
pname = "progress";
version = "0.1.1";
minimumOCamlVersion = "4.08";
useDune2 = true;
src = fetchurl {
url = "https://github.com/CraigFe/progress/releases/download/${version}/progress-${version}.tbz";
sha256 = "90c6bec19d014a4c6b0b67006f08bdfcf36981d2176769bebe0ccd75d6785a32";
};
propagatedBuildInputs = [ mtime terminal_size ];
doCheck = true;
checkInputs = [ alcotest astring fmt ];
meta = with lib; {
description = "Progress bar library for OCaml";
homepage = "https://github.com/CraigFe/progress";
license = licenses.mit;
maintainers = [ maintainers.sternenseemann ];
};
}

View file

@ -1014,6 +1014,8 @@ let
prof_spacetime = callPackage ../development/ocaml-modules/prof_spacetime { };
progress = callPackage ../development/ocaml-modules/progress { };
ptmap = callPackage ../development/ocaml-modules/ptmap { };
ptset = callPackage ../development/ocaml-modules/ptset { };