@@ -1,23 +1,20 @@
1−{ lib, buildDunePackage, fetchurl
2−, mtime, terminal_size, alcotest, astring, fmt
1+{ lib, buildDunePackage
2+, fmt, logs, mtime, optint, terminal, vector
3+, alcotest, astring
34}:
45
56buildDunePackage rec {
67 pname = "progress";
7− version = "0.1.1";
88
9− minimumOCamlVersion = "4.08";
9+ minimalOCamlVersion = "4.08";
1010 useDune2 = true;
1111
12− src = fetchurl {
13− url = "https://github.com/CraigFe/progress/releases/download/${version}/progress-${version}.tbz";
14− sha256 = "90c6bec19d014a4c6b0b67006f08bdfcf36981d2176769bebe0ccd75d6785a32";
15− };
12+ inherit (terminal) version src;
1613
17− propagatedBuildInputs = [ mtime terminal_size ];
14+ propagatedBuildInputs = [ fmt logs mtime optint terminal vector ];
1815
1916 doCheck = true;
20− checkInputs = [ alcotest astring fmt ];
17+ checkInputs = [ alcotest astring ];
2118
2219 meta = with lib; {
2320 description = "Progress bar library for OCaml";