4922992a04
ocamlPackages.data-encoding: 0.7.1 → 1.0.1 ocamlPackages.index: 1.6.1 → 1.6.2 ocamlPackages.irmin: 3.7.2 → 3.9.0 ocamlPackages.irmin-http: remove at 3.7.2 ocamlPackages.mirage-kv: 4.0.1 → 6.1.1 ocamlPackages.terminal: 0.2.1 → 0.2.2
30 lines
743 B
Nix
30 lines
743 B
Nix
{ lib, buildDunePackage, fetchurl, ocaml
|
|
, stdlib-shims, uutf, uucp
|
|
, alcotest, fmt
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "terminal";
|
|
version = "0.2.2";
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/CraigFe/progress/releases/download/${version}/progress-${version}.tbz";
|
|
hash = "sha256-M0HCGSOiHNa1tc+p7DmB9ZVyw2eUD+XgJFBTPftBELU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ stdlib-shims uutf uucp ];
|
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
|
checkInputs = [ alcotest fmt ];
|
|
|
|
meta = with lib; {
|
|
description = "Basic utilities for interacting with terminals";
|
|
homepage = "https://github.com/CraigFe/progress";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.vbgl ];
|
|
};
|
|
}
|
|
|