depot/third_party/nixpkgs/pkgs/development/ocaml-modules/terminal/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

29 lines
743 B
Nix

{ lib, buildDunePackage, fetchurl, ocaml
, stdlib-shims, uutf, uucp
, alcotest, fmt
}:
buildDunePackage rec {
pname = "terminal";
version = "0.4.0";
minimalOCamlVersion = "4.03";
src = fetchurl {
url = "https://github.com/CraigFe/progress/releases/download/${version}/progress-${version}.tbz";
hash = "sha256-i+RJVTN5uy3F6LeYBcgER2kKA9yj6a7pWf7PRtgnj7c=";
};
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 ];
};
}